1

Closed

GameObject.ID does not restore correctly

description

ID's are not being generated correctly at the moment, generated as 00000000-0000-0000-0000-000000000000 due to calling self.ID = new Guid(); within the GameObject constructor. Needs to call self.ID = Guid.NewGuid();

The restoring of the ID also needs to make sure that the objects ID was not re-generated after loading, due to the ID being created within the constructor, which gets invoked during object restoration. I'm not sure if this is an issue with out new serialization system, but at one point this was causing some issues.
Closed Jun 9, 2013 at 4:51 AM by Scionwest
This issue has been fixed. ID's are now generated properly and saved/restored without issue. Should be available in the 2.0.2 release.

comments