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

uGUI

-

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

  1. Response avatar

    Resolution Note (fix version 2022.1):

    Fixed in: 2022.1.0a17

  2. Response avatar

    Resolution Note (fix version 2021.2):

    Fixed in: 2021.2.6f1

  3. Response avatar

    Resolution Note (fix version 2020.3):

    Fixed in: 2020.3.25f1

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.