Search Issue Tracker
Not Reproducible
Votes
1
Found in
5.2.1f1
Issue ID
734695
Regression
No
Inverted value of Screen.orientation on iPad Air w/iOS 9.0.2
Inverted value of Screen.orientation on iPad Air w/iOS 9.0.2
1. What happened
When running on an iPad Air or other iPad that supports multitasking (even when multitasking is not being used) we observe that the value of Screen.orientaton becomes inverted. This is being seen on 5.2.1f1 and 5.2.1p1. It is not observed on 5.1.3f1. The iPad needs to be on iOS 9 (we are using 9.0.2 but I believe earlier versions of iOS 9 are also affected). I am using Xcode 7.0.1.
2. How we can reproduce it using the example you attached
Build and run the attached example ensuring all four orientations are selected. Start the app with the iPad held in portrait mode. The label in the centre of the screen will say "Orientation: Portrait". This label is simply displaying the value of Screen.orientation. Now rotate the iPad 90 degrees counterclockwise. The text wil change to say "Orientation: LandscapeLeft". OK so far. Now rotate the iPad back to portrait. The text will now say "Orientation: PortraitUpsideDown". From now on, whichever orientation you turn the iPad to, the text will show the inverse position, 180 degrees out.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- URP Realtime reflection probes do not update when RenderProbe() is being called once per second
- Addressable terrain shader variants are stripped from the Player
- [iOS] Debug.Log() appears as <private> in Console app
- UI stays in the background when it is disabled in simulator
- A wrong log file is attached when project is launched with a "-logFile" command line argument
Add comment