- Home /
Question by
COLLAnitySV · Jan 06, 2012 at 04:59 AM ·
gameobjectarraynullreferenceexceptionsaveload
Save Multiple GameObject with XML
I really puzzled with http://www.unifycommunity.com/wiki/index.php?title=Save_and_Load_from_XML
From this script. how to this script could save / load array of game objects positions ? And how to make the used objects disappear while loading this scene (from loadXML) ? when i change the _player : GameObject; to _player : GameObject[]; it happen NullReferenceException: Object reference not set to an instance of an object.
Please i really need this function. Thanks for the answer
Comment
too bad, I wanted to check ti out bu the wiki has be spammed... will check when it's back.
Answer by $$anonymous$$ · Jan 26, 2012 at 07:02 PM
Take a Look in the http://unitynoobs.blogspot.com/, there have full sources of Unity3D / XML, can be a help.