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
- Mouse input is registered incorrectly in Custom RP when downscaling Render Target and rendering Overlay UI before final upscale
- Time.deltaTime is locked to the display's refresh rate when the built Player is moved to a Secondary Display and Windowed Mode is used
- Crash on RaiseException when importing a specific asset
- Crash on RaiseException when opening a specific project
- DownloadHandlerScript.CompleteContent is called twice when building for WebGL
Add comment