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
- [Android] Stage information is not logged when Log Shader Compilation is enabled
- [Vulkan] The memory allocation increases rapidly when there are multiple (three or more) Real-Time Reflection Probes in the Scene
- [macOS] Library folder of the opened project can be deleted which leads to the crash
- “Default Scene” dropdown field contains a spelling mistake “Default Builtin”
- Editor crashes on PPtr<Mesh> after adding Text Mesh and Cloth Components to the same GameObject
Resolution Note:
Not reproducible. After changing the local scale, call PrefabUtility.RecordPrefabInstancePropertyModifications(go.transform) to record the modifications made to the Prefab Instance.