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
- Search field in UI Builder's Library has no character limit
- Changing the value in UI Builder by dragging increases it by a few thousand points when reaching the borders of the screen
- ARM64 architecture DLL incorrectly copied instead of x64 when building for Windows x64
- Crash on TypeTreeIterator::GetNode when opening a specific folder
- Crash on WriteSerializedAssetsV2 when (re)entering the Play Mode in a specific project when IEnumerator Start() is used
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