Search Issue Tracker
Fixed in 5.3.5
Votes
0
Found in
5.3.4f1
Issue ID
786910
Regression
No
[WSA] on Universal 10 Screen.orientation returns "Autorotation" instead of actual orientation
Screen.orientation returns "Autorotation" instead of the actual orientation when running a UWP app on Windows 10. Once the Surface device is rotated during runtime, the correct orientation is returned.
Repro steps:
Build the attached sample for Windows Store (Universal 10) and run it on a Windows 10 tablet. In the top left, you will see a label saying "AutoRotation". This label is directly reading Screen.orientation.
If you rotate the Surface tablet now (assuming this is enabled in the system settings), the label will be updated to the correct orientation.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Flickering white border around Game View when Gizmos are enabled
- MultiColumnTreeView does not auto-expand foldouts when autoExpand is set to "true"
- Animation does not control the property of the Gameobject when the keyframe and initial value are the same
- Decal Technique set to Automatic prefers the DBuffer option when using OpenGL
- Brush Size in the Inspector window does not update when the Brush Size in Scene View is changed
Add comment