Search Issue Tracker
Fixed
Fixed in 2021.3.28f1, 2022.3.2f1, 2023.1.0f1, 2023.2.0a17
Votes
4
Found in
2020.3.46f1
2021.3.21f1
2022.2.12f1
2023.1.0b8
2023.2.0a5
Issue ID
UUM-30925
Regression
No
[UaaL] “Screen.orientation” is not changing orientation in the UaaL example on an iOS device
How to reproduce:
1. Open the user’s attached “uaal-example.zip” project
2. Follow the instructions from here: [https://github.com/Unity-Technologies/uaal-example/blob/master/docs/ios.md|https://github.com/Unity-Technologies/uaal-example/blob/master/docs/ios.md|smart-link]
3. After deploying the app to the device, press the “Change Orientation” button
4. Observe the result
Expected result: Orientation changed
Actual result: Orientation hasn’t changed
Reproducible with: 2020.3.46f1, 2021.3.21f1, 2022.2.12f1, 2023.1.0b8, 2023.2.0a5
Reproduced on:
VLNQA00310 - iPad Pro 12.9", 13.4.1 iOS
VLNQA00392 - iPad (9th generation), 15.0 iOS
iPhone XR
iPhone 12 mini
Not reproduced on:
VLNQA00358 - iPhone 12, 14.1 iOS
Note: could not test on Android because of the errors
Comments (2)
-
sudarshans
Apr 12, 2023 05:17
we are expecting a fix for this in 2021 latest LTS version.
-
sudarshans
Apr 12, 2023 05:06
With this, even the Screen.orientation API return wrong values in the above project, for example in Unity if we set screen orientation to portrait and then we log the Screen.orientation value it says portraitupsidedown whereas physically it is just set to portrait and the same applies to landscape as well so please look into that as well.
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Animator Controller throws MissingReferenceException after undoing Layer Creation
- Full stack trace is always printed when an exception occurs in an IL2CPP build
- Licensing Client fails to launch when opening Unity Hub (licensing client path is not found)
- Licensing Client fails to launch when opening Unity Hub
- Different custom Shader behavior when GPU Resident Drawer is enabled
Resolution Note (fix version 2023.2.0a17):
Fixed in: 2023.2.0a17
Resolution Note (fix version 2023.1.0f1):
Fixed in: 2023.1.0f1
Resolution Note (fix version 2022.3.2f1):
Fixed in: 2022.3.2f1
Resolution Note (fix version 2021.3.28f1):
Fixed in: 2021.3.28f1