Search Issue Tracker
Fixed
Fixed in 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
- "Browse" button for Xcode in the "Build Profiles" window is too big
- USS styles fail to inherit correctly when contentContainer is overridden in a custom control
- Copying and pasting Animator Transitions leads to unexpected behaviour
- "ShaderGraph" misses a space in the "Project Settings" section
- UI Builder inspector’s checkbox fields can be activated when clicking anywhere in the value field
Add comment