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
- Crash on ResizeScriptingList<ScriptingObjectPtr> when passing an undeclared variable to the results parameter for GameObject.FindGameObjectsWithTag
- [Android] "Screen.safeArea.y" always returns values outside of the Safe Area when the device is in Portrait orientation
- Frame spike due to many TreeRenderer.TreeUpdated calls when repositioning terrains in large Scenes
- Crash on GameObject::RemoveComponentFromGameObjectInternal when reparenting Text GameObjects
- [IL2CPP-GarbageCollector] Changing GCMode might permanently disable GC in a multithreaded context
Add comment