Search Issue Tracker
By Design
Votes
0
Found in
2019.4
2020.3
2020.3.0f1
2021.1
2021.2
Issue ID
1323960
Regression
Yes
Canvas Rect Transform Width values different with Canvas Scaler enabled on 2018.4 and 2019.4
Reproduction steps:
1. Open the user's attached project "2018_Reproduction.zip" in 2018.4.33f1
2. And open another user's attached project "Suspected - Canvas Scaler Issue - 2020.3.zip" in 2019.4.24f1
3. In the Project Window open the "VericalLayoutUI" Prefab
4. In the Hierarchy window select the "ReelCanvas" GameObject
5. In the Inspector Take note of the RectTransform Width values with Canvas Scaler Component Enabled
Expected result: behaviour between 2018.4 and 2019.4 is identical
Actual result: in 2019.4.24f1 Canvas RectTransform Width shows a value of "31352.63" while on 2018.4.33f1 it shows a value of "2926.354" with Canvas Scaler enabled
Reproduces on: 2019.4.24f1, 2020.3.3f1, 2021.1.2f1, 2021.2.0a12
Does not reproduce on: 2018.4.33f1
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
- The Scene View becomes gray and "NullReferenceException" errors are thrown when attaching the Unity Editor process to RenderDoc
- Memory usage rapidly rises when changing colors in the color wheel
- Physically Based Sky's Horizon and Zenith Tint Color Selection Bars don't have immediate access to color pickers
- EmptyAdditionalLightShadowmapTexture leaks from memory when URP quality level is changed using QualitySettings.SetQualityLevel
- Referenced ScriptableObject field does not get updated and cannot be set to "None" when there are no Objects of that type
Resolution Note (2021.2.X):
The size will be slightly different now as the canvas size is taken from the device rendering it and not just the last camera that rendered it.