Search Issue Tracker

In Progress

Fixed in 2021.3.44f1, 2022.3.47f1

Fix In Review for 6000.0.X

Votes

0

Found in

2021.3.40f1

2022.3.40f1

6000.0.13f1

7000.0.0a1

Issue ID

UUM-77244

Regression

Yes

Values overwrite in parent's RectTransform when using PrefabUtility.SaveAsPrefabAsset

--

-

Reproduction steps:
1. Open the attached “BugRepro” project
2. Select the “Assets/Prefabs/UIPrefab.prefab” prefab
3. In the Inspector window inspect the prefab and note that RectTransform's Pivot is 0, 0 and Scale is 0, 0, 0
4. From the menu go to Replicate Bug > Resave Prefab to execute the script
5. Observe the Inspector window

Expected result: RectTransform's Pivot and Scale values do not change
Actual result: RectTransform's Pivot is (0.5, 0.5) and the Scale is set to (1,1,1)

Reproducible with: 2021.3.40f1, 2022.3.40f1, 6000.0.1f1, 6000.0.13f1
Not reproducible with: 6000.0.0f1

Reproducible on: Windows 11
Not reproducible on: No other environment tested

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.