Search Issue Tracker
Fixed in 2022.2.X
Votes
1
Found in
2018.4
2019.4.4f1
2020.2
Issue ID
1275173
Regression
No
Prefab Component order in the Inspector window is reverted upon exiting Prefab Mode after changes are made
How to reproduce:
1. Open user-submitted project (ReproPrefabComponentOrderBug.zip)
2. Open the ReproScene
3. Open 'RootPrefab' GameObject in Prefab Mode
4. Select 'NestedPrefab' GameObject, right-click the Animator Component and select 'Move Up'
5. Save the changes to the Prefab and exit Prefab Mode
6. Select 'NestedPrefab' and see the Component order
Expected result: the Animator is above the Box Collider
Actual result: the Animator remains below the Box Collider
Reproducible with: 2018.4.27f1, 2019.4.10f1, 2020.1.5f1, 2020.2.0b2
Notes:
The same behavior can be observed by opening the RootPrefab, removing both Components from the NestedPrefab, saving, re-entering Prefab Mode and adding Animator first and Box Collider second; after saving and exiting Prefab Mode the Animator will be moved to the bottom
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
- Tile Palette selected dropdown text does not update when palette is renamed
- ArgumentException thrown and reference to Template gets unset when opening UXML file after editing referenced Template in Play mode
- [iOS][WebGL] Player freezes when multiple properties of a VisualElement are changed at the same time
- Warning 'GetControlID at event ValidateCommand returns a controlID different from the one in the Layout event' is logged when undoing the deletion of an Edited Freeform 2D Light
- ShadowCaster2D breaks on certain Rotation positions when Casting Source is set to PolygonCollider2D
Resolution Note (fix version 2022.2):
Fixed in 2022.2.0a4