Search Issue Tracker
Won't Fix
Votes
3
Found in
2019.4
2020.3
2020.3.4f1
2021.1
2021.2
2022.1
Issue ID
1360751
Regression
No
[Prefabs] PrefabUtility.RevertObjectOverride doesn't work properly when multiple reverted objects within the same prefab
How to reproduce:
1. Open the "case_1360751" project
2. Open the "SampleScene" Scene
3. Select all child GameObjects under the "TestObject" Prefab in the Hierarchy
4. Select "Test -> RevertAndApply on Selected" in the Menu
5. Observe the Cubes in the Scene
Expected result: all the Scale values of all the Cubes is equal to 2
Actual result: only one of the Cubes all the Scale values is equal to 2
Reproducible with: 2019.4.30f1, 2020.3.17f1, 2021.1.19f1, 2021.2.0b9, 2022.1.0a7
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
- Fixing Message Loss in UMPE During Domain Reload
- The Editor freezes when ScheduleReadOnly of IJobParallelForTransform with dependency is used
- Text is truncated in the Inspector when the display scale is set to 150%
- CancellationTokenSource(<timeout>) has incorrect cancellation status when used in WebGL Player
- VFX property value names are cut off when properties with 'Arc' are viewed in the VFX Blackboard
Resolution Note:
Not reproducible. After changing the local scale, call PrefabUtility.RecordPrefabInstancePropertyModifications(go.transform) to record the modifications made to the Prefab Instance.