Search Issue Tracker
Fixed in 2022.1.X
Votes
4
Found in
2018.3.0a6
2018.3.4f1
2019.1.0a1
2019.2.0a1
Issue ID
1127653
Regression
No
Prefab Variant Child has a lower Index than a Prefab Child when editing a Prefab while Prefab Variant is not in the Project
Steps to reproduce:
1. Open the attached Project "case_1127653"
2. Navigate to Project -> Assets
3. Create a Variant of a "Base Prefab" with coloured Image as a child
4. Move the Prefab Variant out of the Project
5. Add a child to the "Base Prefab" that has a coloured image
6. Move the Prefab Variant back to the Project
7. Open the Prefab Variant
8. Notice how the Child of the Prefab Variant has a lower sibling index compared to Original Prefab child
Expected results: Variant of a Prefab has the highest sibling index
Actual results: Child of the Original Prefab has the highest sibling index
Reproducible with: 2018.3.0a6, 2018.3.7f1, 2019.1.0b4, 2019.2.0a6
Note: Improved Prefabs appeared in 2018.3.0a6
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
- Memory usage rises when switching scenes with GRD enabled and a loaded texture in URP
- [Quality Hackweek] Terrain Brush Size value is not serialized after deselecting the terrain when using the first instance of multiple Inspectors
- "NullReferenceException" is thrown when setting a long string in TMP with "Atlas Population Mode" set to "Dynamic" and "Multi Atlas Textures" enabled
- TextMeshPro text is misaligned when alignment is set via script
- A DX11 shader error is thrown when compiling shaders for platforms without DX11 support
Resolution Note (fix version 2022.1):
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