Search Issue Tracker
Fixed in 2022.1.X
Votes
2
Found in
2019.4
2020.3
2020.3.15f2
2021.1
2021.2
2022.1
Issue ID
1360890
Regression
No
GameObject Hierarchy order is inconsistent between Scene and Prefab when a child is not applied to the Prefab
How to reproduce:
1. Open the attached project (Hierarchy.zip)
2. Open scene Scenes/SampleScene
3. In the Hierarchy window, select the GameObject "Sort Issue" and expand it
4. Observe the sorting of the GameObject's children
5. In the Project window, select the Prefab "Sort Issue" and open it by double-clicking
6. Observe the sorting in the Hierarchy window
Expected result: the order is consistent between the Prefab and the GameObject in the Scene
Actual result: the order is different
Reproducible with: 2019.4.30f1, 2020.3.17f1, 2021.1.20f1, 2021.2.0b9, 2022.1.0a7
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
- Global Search returns incorrect results in the Project tab when searching by namespace and class type after they have been modified
- Cannot select a child element in UI Builder when the parent is selected
- [Linux] Crash on NewInput::MouseCallbacks::IOCTL when "WarpCursorPosition" function is called
- NullReferenceException is thrown when clicking on the audio clip with Auto Play enabled
- IndexOutOfRangeException is thrown and an element returns to the wrong location when undoing the position change in UI Builder
Resolution Note (fix version 2022.1):
Fixed in 2022.1.0a15