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
- Shader Graph Node information is briefly displayed in Graph Inspector when clicking on Category in the Blackboard
- Module installation fails with "Download failed: Validation Failed" errors when using beta.2 Hub version
- JsonConvert conversion fails trying to call GetCallbackMethodsForType when [OnDeserialized] is used in a class
- Shader Graph Category dropdown cannot be expanded/collapsed when clicking on the text
- Different text alignment in the column header in Entities "System" window
This is a duplicate of issue #UUM-45383