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
- Editor hangs when painting Details containing 2D Mesh on Terrain
- No audio is played when TimelinePlayable has one output
- Scene and Sprite Editor views break when an edge is deleted in an attempt to split geometry
- Specular lighting visible in a camera with Path Tracing when Preserve specular lighting is disabled in observed material
- Cinemachine package throws CS1061 errors in the Console when installed in a project that has HDRP and URP installed
Add comment