Search Issue Tracker
Fixed in 5.0.X
Votes
1
Found in
4.3.2f1
Issue ID
582098
Regression
No
Screen.orientation returns different value from the actual screen orientation
Screen.orientation returns different value from the actual screen orientation when "Auto-rotate screen" is disabled in Settings->Display.
The application starts in portrait orientation, but "Screen.orientation" returns "PortraitUpsideDown" when the "Portrait Upside Down" default orientation is selected in the player settings and the "Auto-rotate screen" option is disabled on the device in the Settings->Display.
Reproduced on:
Google Nexus 5 with Android 4.4.2
Reproduced with:
Unity Version 4.3.2f1 (0517a5ae8669)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- UI becomes unresponsive when using AppUI Navigation and Event System is attached
- Freeze/crash with multiple StackTraces when opening a specific project
- Crash on TypeContainer<int>::rtti when deleting a Render Texture that is used by the Main Camera
- Multiple ArgumentExceptions are thrown when adding a VisualTreeAsset with Sprite Glyphs to a UIDocument
- Color Node Alpha slider displays incorrect value when viewed in Shader Graph
Add comment