Search Issue Tracker
Fixed in 2022.2.18f1
Fixed in 2022.2.X, 2023.2.X, 2023.2.0a13
Votes
0
Found in
2022.2.16f1
2023.2.0a11
Issue ID
UUM-33690
Regression
Yes
[iOS] “Screen.orientation” returns wrong orientation when rotating a device
How to reproduce:
1. Build And Run the attached “ScreenOrientation.zip” project on an iOS device
2. Hold the device in portrait orientation, then turn the device to the right and back to portrait orientation
3. Observe the printed Screen Orientation
Expected result: Printed Screen Orientation is Portrait > LandscapeLeft > Portrait
Actual result: Printed Screen Orientation is Portrait > LandscapeLeft > PortraitUpsideDown
Reproducible with: 2022.2.13f1, 2022.2.16f1, 2023.2.0a6, 2023.2.0a11
Not reproducible with: 2020.3.47f1, 2021.3.23f1, 2022.2.0a17, 2022.2.12f1, 2023.1.0a1, 2023.1.0b13, 2023.2.0a5
Reproduced on:
VLNQA00494 - iPhone 14 Pro Max, 16.3.1 iOS
VLNQA00358 - iPhone 12, 14.1 iOS
VLNQA00392 - iPad (9th generation), 15.0 iOS
VLNQA00310 - iPad Pro 12.9", 13.4.1 iOS
Not reproduced on:
VLNQA00520 - Galaxy S22 USA (SM-S901U), CPU: Snapdragon 8 Gen 1 (SM8450), GPU: Adreno 730, OS: 12
Note: If repeating the 2nd step a few times screen orientations keeps changing (Portrait > LandscapeLeft > PortraitUpsideDown > LandscapeLeft > Portrait)
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
- Entering “NaN” or “Infinity” values in Game Object Brush Orientation value fields spams Quaternion-related errors in the Console and persists unless value is undone in Tile Palette window
- An InvalidOperationException is thrown in the Editor when using On-Tile Rendering with the Mock HMD plug-in
- Unity UI does not trigger "OnFocusLost" and doesn't refresh when focusing on other Windows in the Editor
- Project Auditor's settings cannot be searched in the Preferences window
- Crash on SerializableManagedRef::CallMethod when performing various Unity operations
Resolution Note (fix version 2023.2):
Fixed in: 2023.2.0a13
Resolution Note (fix version 2022.2):
Fixed in: 2022.2.18f1