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
- Standalone Player crashes with "TDerived GetOrLoad<TDerived>() where TDerived : T" when IL2CPP Code generation is set to "Faster (smaller) Builds"
- IndexOutOfRangeException and InvalidOperationException when logging XML string
- Script missing in "Assets/Settings/Mobile_Renderer/GlobalVolumeFeature" of "com.unity.template.urp-blank" template
- “Font Asset Creator - Error Code [Invalid_File_Structure]…“ error is logged when generating Font Assets from fonts with meta files from previous Editor versions
- Input.mousePosition returns (NaN, NaN, 0.00) when Scene view is opened
Add comment