Search Unity

Should the order of objects in the Hierarchy view be stable?

Discussion in 'Editor & General Support' started by dgoyette, Jan 20, 2019.

  1. dgoyette

    dgoyette

    Joined:
    Jul 1, 2016
    Posts:
    4,196
    I order things manually in my hierarchy view based on the order encountered in my scene. For example:

    upload_2019-1-20_13-31-42.png

    While I'm working on a single scene, things seem to be stable in this way. But at some later point, it seems that I'll eventually reopen a scene, and find that the order of the objects has changed, apparently randomly.

    Does this sound like a bug? Or is the order of object in the hierarchy view not expected to be stable? (Unity 2018.3.2, but was also happening under 2018.3.0)
     
  2. It's stable for me, so it sounds like either a bug or a rouge asset which mess up your hierarchy.

    Also make sure you chose the transform sorting, not the alphabetical.
    hierarchy.PNG
     
  3. dgoyette

    dgoyette

    Joined:
    Jul 1, 2016
    Posts:
    4,196
  4. Nope. it's built-in option for a while now. But if you don't have it, probably it's not the culprit.

    https://docs.unity3d.com/Manual/Hierarchy.html