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
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
Add comment