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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Add comment