Search Issue Tracker
Duplicate
Votes
1
Found in
2022.1.0a6
2022.1.0b3
2022.2
Issue ID
1395961
Regression
Yes
Width, Height and Scale of a Prefab are zeroed when updating to Unity 2022.1.0a6 or above
Reproduction steps:
1. Open the 'UnityRectBug' project with Unity 2022.1.0a5
2. Open the 'SampleScene'
3. Open the 'UIRoot' prefab in the Prefab Mode
4. Note that Width, Height, and Scale are set to not null values
5. Reopen the 'UnityRectBug' project with Unity 2022.1.0a6
6. Open the 'SampleScene'
7. Open the 'UIRoot' prefab in the Prefab Mode
Expected result: Width, Height, and Scale are not zeroed
Actual result: Width, Height, and Scale are zeroed
Reproducible with: 2022.1.0a6, 2022.1.0b4, 2022.2.0a3
Not reproducible with: 2019.4.34f1, 2020.3.26f1, 2021.2.8f1, 2022.1.0a5
-
Resolution Note (2022.2.X):
Revalidated with 2022.2a16 BrokenPrefab is overridden in the prefab itself to have all zero. UIRoot is modifiable as expected. Not sure why this was reopened.
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
- VFX Graph effect instance stops rendering when a second instance of the same effect starts 2 frames later
- Operations on the Color32 array are not reflected in WebGL Player when HDR is off
- Rigidbody moves away from the original GameObject when Center of Mass is set in every frame
- WebGL Player does not proceed beyond logo screen when "Target WebAssembly 2023" is enabled
- "NullReferenceException" error thrown in UnityEditor.ObjectListArea when an audio clip is selected in one of two opened Project tabs while the second Project tab is not active/painted
This is a duplicate of issue #1388532