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

Scene Management

-

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

  1. Resolution Note:

    Not reproducible. After changing the local scale, call PrefabUtility.RecordPrefabInstancePropertyModifications(go.transform) to record the modifications made to the Prefab Instance.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.