Search Issue Tracker

Fixed in 5.5.0



Found in


Issue ID




Scene GetRootGameObjects ignores order in hierarchy and returns objects in alphabetical order

Assets Management


Steps to reproduce:

1. Open attached project. (
2. Open scene: menu
3. Press play.
4. Inspect console and hierarchy window.

Expected result: Objects from GetRootGameObjects are printed in same order as they are in hierarchy.
Actual result: Objects from GetRootGameObjects are in alphabetical order. Reordering objects in hierarchy window does not affect GetRootGameObjects at all.

Reproduced on: 5.5.0b2, 5.4.0f3

Comments (2)

  1. chrismarch

    Feb 01, 2018 00:10

    Looks like it is the order in the scene file, which can be different from the transform order, when loading from asset bundles...

  2. chrismarch

    Jan 31, 2018 23:59

    I get a jumbled order, which isn't transform nor alphabetical, in standalone windows clients made with 2017.1.f1

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.