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
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
Add comment