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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
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.