Search Issue Tracker
Duplicate
Votes
0
Found in
2018.3.0a5
2019.1.0a1
2019.1.0a13
2019.2.0a1
Issue ID
1115411
Regression
Yes
RectTransform.sizeDelta.x returns height value if Canvas Render Mode is set to Screen Space - Camera
How to reproduce:
1. Open the "case_1115411-CanvasWidth" project
2. Change the Game View resolution to 200x100 and enter Play mode
3. Observe console
Expected results: Console should print out the screen width value
Actual results: Console prints out the screen height value
Reproducible with: 2018.3.3f1, 2019.1.0a14, 2019.2.0a1
Not reproducible with: 2017.4.18f1, 2018.3.0a4
Note: RectTransform.rect.width also returns the height value with ScreenSpaceCamera Canvas Render Mode.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
- [Rendering Debugger] [NewInputSystem] Debug Overlays in Play mode throws InvalidOperationException when using New Input System
- [RenderingDebugger][InputSystemPackage] Ctrl+Backspace shortcut doesn't work to open the Rendering Debugger when New Input System is in use
- No option to skip video transcoding when launching a Project
- “ValidateSchema Error2” error is thrown in the Player when using IL2CPP Scripting Backend
Add comment