Corpsecrank;805590 said:I see but in the off chance you did run into something weird that had issues I would throw a check into this to eliminate further hassles.
Not exactly easy to determine what things may cause problems without duping the object once.
You could create an interface called INonDupable or something similar, and inheret that for items which cannot be duped. Then check the IEntity to see if its of that type.
Also you could create an interface called ICustomDupe or something similar, and if the IEntity is of that type, it uses a custom Serialization/Deserialization method as well.