Search Issue Tracker
Fixed in 2022.1.X
Fixed in 2020.3.X, 2021.2.X
Votes
0
Found in
2019.4
2019.4.30f1
2020.3
2021.1
2021.2
2022.1
Issue ID
1367658
Regression
No
RectTransform that is unmodified gets reset when reverting overrides in Prefab
How to reproduce:
1. Open the attached "RevertPrefabOverridesBug.zip" project
2. Go into Assets -> Scenes folder
3. Enter the "SampleScene" Scene
4. Go into the Prefabs folder
5. Drag and drop the "TestPrefab" prefab onto the Canvas Object in the Scene
6. Expand the list of objects in the scene
7. Select the "TestParent" object
8. Modify any position on the Rect Transform component
9. Select the "TestPrefab" object in the Scene
10. Open the Overrides drop-down
11. Press the Revert All button
12. Select the "TestChildSecond_bug" object
Expected result: Rect Transform position values do not change
Actual result: Rect Transform position values changed
Reproducible with: 2019.4.30f1, 2020.3.19f1, 2021.1.22f1, 2021.2.0b14, 2022.1.0a12
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
- Prefabs with "Flags" enum properties result in "IndexOutOfRangeException" when trying to commit/revert
- The Camera first person mode in Cameras overlay is greyed out and not clickable when the Editor is restarted with the Game View focused
- Scene View doesn't select the Canvas when it's clicked with the View Tool
- Transform fields are impossible to edit when Inspector window is resized
- Actions in UI Builder Preview mode are not fully reset after exiting the Preview mode
Resolution Note (fix version 2022.1):
Fixed in: 2022.1.0a17
Resolution Note (fix version 2021.2):
Fixed in: 2021.2.6f1
Resolution Note (fix version 2020.3):
Fixed in: 2020.3.25f1