Search Issue Tracker
Fixed in 2022.1.X
Votes
1
Found in
2018.3.0a6
2019.2.0a1
2019.2.1f1
2019.3.0a1
2020.1.0a1
Issue ID
1180518
Regression
No
Adding children in Prefab Mode when there are unapplied new GameObject overrides causes the Prefab to have incorrect structure
How to reproduce:
1. Create a new Unity project
2. Create a GameObject with a child and turn it into a Prefab
3. In the Hierarchy window add a new child to the Prefab
4. Without applying the override open the Prefab in Prefab Mode
5. Add a new child to the Prefab
6. Exit Prefab Mode and see the Hierarchy window
Expected result: the unapplied child GameObject override is positioned at the bottom
Actual result: the unapplied child GameObject override is positioned in the middle
Reproducible with: 2018.3.0a6, 2018.4.7f1, 2019.2.4f1, 2019.3.0b1, 2020.1.0a2
Could not test with: 2017.4.32f1, 2018.3.0a5(Uses the old Prefab System)
Notes:
Same structural result can be achieved by applying new child GameObject overrides individually
The unapplied child GameObject can be moved down, but cannot be moved up
The Overrides menu shows not only the added child, but also indistinct changes in Transform for children, positioned lower than the unapplied child override; applying the Transform changes does nothing and retains the entry in the 'Overrides' menu
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
- Multiple VFX assets cannot be opened in one go
- Rectangle Shape Area Light generates a circle around the rectangle shape
- Action can't be undone after changing the base Controller on the Animator Controller
- The Axes Gizmo is wiggling around when moving around the Scene View with enabled Physical Camera and Isometric View
- The script can be dragged and dropped before it is compiled
Resolution Note (fix version 2022.1):
Fixed in 2022.1.0a15: GameObjects added to a prefab instance, which are added after the prefab's children, will remain after the prefab's children even after new children are added to the prefab