Search Issue Tracker
Fixed in 5.5.0
Votes
0
Found in
5.5.0b2
Issue ID
828409
Regression
No
Scene GetRootGameObjects ignores order in hierarchy and returns objects in alphabetical order
Steps to reproduce:
1. Open attached project. (MergeScenesRepro.zip)
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
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [URP][Lighting] The skybox doesn't render after changing the settings of the Material when using the URP Render Pipeline
- Crash on ShaderLab::ShaderState::ApplyShaderState when entering Play Mode and calling ShaderWarmup.WarmupShaderFromCollection with a shader that has dynamic_branch
- Crash on operator delete[] when a serializable structure in the System namespace is serialized by a MonoBehaviour
- [macOS] forward and backward mouse buttons are recognized as middle mouse button
- NavMeshModifier.OnEnable/OnDisable gets progressively slower when called repeatedly
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...
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