Every once in a while, I’ll get into a situation where the GameObjects change their ordering in the hierarchy of a scene. That’s bad, considering the UI is based on GameObject ordering in the hierarchy. I can’t nail down exactly what causes it. Sometimes it seems to be caused by using a prefab. Sometimes the order only changes at runtime.
Is anyone else running into this issue?
Edit: I’m using Unity 5.3.3p1 but it’s happened on previous versions (5.2.x) as well.
hi there, I’ve noticed this happens especially when you have Prefabs and “normal” gameObjects in root of scene, when play is pressed, objects swap places, and after game is stopped, this order is kept…
However I haven’t so far noticed if this happens in hierarchies, last time I used UI a bit more, using Unity 5.2.2 I didn’t see such problems with parented objects (= no mess created for UI elements as they all are children under canvas and other grouper objects).