Search Issue Tracker
Duplicate
Votes
0
Found in
2022.3.15f1
2023.2.4f1
2023.3.0b1
Issue ID
UUM-59368
Regression
Yes
The order of children GameObjects within the Prefab changes when updating the Editor
How to reproduce:
1. Open the “GameObjectOrder20213” project
2. Open the “SampleScene”
3. Enter the Play Mode
4. Observe the Game View
Expected result: In both instances, the green-colored square image is positioned on top of the red-colored square image
Actual result: The position of images varies depending on the versions
Reproducible in: 2022.1.0a15, 2022.3.15f1, 2023.2.4f1, 2023.3.0b1
Not reproducible in: 2021.3.33f1, 2022.1.0a14
Reproduced on: Windows 10
Not reproduced on: No other environments tested
Note:
- Between versions 2021.3.33f and 2022.1.0a14, in both the 'SavedInSceneTest' parent GameObject and the 'OuterPrefab' Prefab in Hierarchy, the 'InnerImage' child objects are positioned after the 'OuterImage' and 'Image' objects
- From version 2022.1.0a15 to 2022.1.0b8, the 'InnerImage' child object appears before the 'Image' child object in the 'SavedInSceneTest' parent object
- Starting from version 2022.1.0b9 and in all the latest versions, for both the 'SavedInSceneTest' parent GameObject and the 'OuterPrefab' Prefab, the 'InnerImage' child objects are placed before the 'OuterImage' and 'Image' objects
- The difference between child GameObjects placement might be related to this issue: [https://issuetracker.unity3d.com/issues/m-rootorder-values-change-in-the-prefab-when-editorutility-dot-setdirty-is-called-on-it] . Specifically to m_RootOrder being removed from later Unity versions.
-
Resolution Note:
null
Duplicate of https://issuetracker.unity3d.com/product/unity/issues/guid/UUM-45383
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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
This is a duplicate of issue #UUM-45383