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
- Adaptive Performance documentation link leads to outdated package documentation when the documentation hyperlink is pressed in the Project Settings window
- After converting a Built-in project to URP render texture related errors are spammed that can lead to Game view being rendered on top of Scene view
- UI Builder slider value lags and stutters when sliding/modifying certain property values
- "Reset UI Builder Layout" functionality inconsistently changes Canva Size when "Match Game View" is enabled/disabled
- Texture Import Warnings are obscured by other Terrain Layer options in the Inspector
Add comment