I just make a layout to choose which level do players want to go.
The code work like this:
On XXX is clicked→ Go to layout XXX
However, when I go to level two (only happens in level two), lose the game, and choose level two again, most of objects on level two disappear (not on the screen)
avatar, map, land, tree all disappear, only UI bar and some items which use "create objects" to spawn on layout.
C2 create/load objects before go to layouts, so these objects which are placed in layouts should be appear without write an event like "create object", isn't it?
And this problem only happens in specific level....
Does anyone know why would this happen? How can I fix it?