I have a GameObject in my scene with a script on it that reads data from an xml and creates a variety of cube primitives (and applies other components to them like textures, etc) based on that xml data. I am doing this:
This works fine in the editor, and in unity remote viewer. However when I build to my device, none of these cubes are showing up.
How do I get this to work? Is there some unity restriction I am hitting here?
I searched for answers to this, but haven't found anything yet. Maybe its not allowed to CreatePrimitives at run-time on ios and parent them to existing gameobject transforms???
asked Jul 14 '11 at 09:29 PM