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
- [Android] Audio sound is lower in the Player compared to the native music player
- Feet slide and misalign when playing retargeted animations
- IndexOutOfRangeException is thrown in NativePassCompiler when a graphics buffer is used in more than 5 render passes
- "Undo Stack Overflow" error is thrown, and Undo History is deleted when multiselected GameObjects are reparented to their GrandParents
- SearchColumn of type "ObjectReference" does not get refreshed for the custom SearchProvider when lighting generation finishes
Add comment