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
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
Resolution Note (fix version 2023.2):
Fixed in: 2023.2.0a13
Resolution Note (fix version 2022.2):
Fixed in: 2022.2.18f1