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
- Audio Clip Volume and Avoid Repeating Last fields values cannot be changed in Audio Random Container window
- Setting a variable in the root selector via an imported USS file in a theme does not work
- No character limit when creating a new Scene with excessively long name, Editor can be forced to crash
- URP Decal Projector flickers/glitches when added to Cube or Quad GameObjects as a Component
- Text "Outline Width" is not shown in the Text Property Preview window in UI Builder when the Text Size is smaller than 19px
Add comment