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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
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.