Search Issue Tracker
Fixed
Fixed in 2022.1.X, 2022.1.4f1
Votes
0
Found in
2022.1.3f1
Issue ID
UUM-12798
Regression
Yes
Child Canvas gets parameters set to zero when upgrading Unity version
1. Create a new project in any of 2019, 2020, or 2021 Unity streams version
2. Create a new UI Canvas
3. Create another UI Canvas
4. Make the second Canvas a child of the first one
5. Create a prefab from the main Canvas
6. Upgrade the project into Unity 2022.1.0a6 - 2022.1.3f1
7. Select the child Canvas in the Hierarchy
Expected result: Canvas parameters are the same as in the previous version
Actual result: Canvas scale, pivot, and anchors are all reset to zero
Reproducible with: 2022.1.0a6, 2022.1.3f1
Not reproducible with: 2020.3.38f1, 2021.3.7f1, 2022.1.0a5, 2022.1.4f1, 2022.1.11f1, 2022.2.0b3, 2023.1.0a4
Reproduced on: macOS Monterey 12.4 (Intel)
Notes:
- This only happens if the main UI canvas is saved as a prefab, it doesn't happen when it's not a prefab, and it only affects the child nested UI canvas
- If one changes the values of the canvas and tries to save the prefab, it will automatically revert to the corrupted values
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- "IndexOutOfRangeException" and "NullReferenceException" are thrown and Element disappears from UI Builder when undoing rename of element in "Open Instance in Context" menu
- Select Scriptable Object window freezes and becomes unresponsive when currently opened UXML Template is selected for binding's Data Source
- [Linux] “ReleaseButton expects buttonId >= 0” error is thrown when importing Assets via drag and drop
- Asset gets unselected and added Subgraphs list item is not undone when performing Undo in Heatmap with Default Values asset Inspector
- Black square “shadow” artifacts visible when using Screen Space Reflections without maximum smoothing
Add comment