Open ekdrnqkdrn opened 10 months ago
You mention 2021.3.27f1. I can find these lines in the changelog for Unity 2021.3.28, which looks like rotation was pretty messed up on iOS.
iOS: Fixed "Screen.orientation" is not changing orientation in the UaaL. (UUM-30925)
iOS: Fixed Screen.orientation not changing value when only landscape orientations are enabled and device is rotated. (UUM-36598)
iOS: Fixed Screen.orientation returns wrong values when switching from Landscape orientation to AutoRotation at runtime on iOS 16. (UUM-23251)
If anyone is still running into something like this, try a different (newer) Unity version.
If you hold the phone and tilt it slightly, it will operate normally.
Unity (please complete the following information):
Smartphone (please complete the following information):