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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Resolution Note (fix version 2022.2):
Fixed in 2022.2.0a4