Search Issue Tracker
Fixed in 2018.3.X
Votes
0
Found in
2019.1.0a4
Issue ID
1088729
Regression
Yes
[iOS] Screen.orientation returns wrong value on some devices when specific orientation was forced after few states
How to reproduce:
1. Open the attached project
2. Build and run Main scene on iOS device
3. While project is running click on Landscape Right and then Landscape Left
Result: on the bottom text prints Screen.orientation, notice that Landscape Left prints Landscape Right (it sets Screen.orientation = orientation; to one of the possible orientations)
4. Click on Portrait and then Landscape Left - > Landscape Right
Result: on the bottom text prints Screen.orientation, notice that Landscape Right prints Landscape Left
5. If device supports Portrait Upside Down, click on Portrait, then Portrait Upside Down button on the left
Result: on the bottom text prints Screen.orientation, notice that it is just Portrait
Reproducible: 2019.2.0a4, 2018.30b5, 2018.3.0b1
Not reproducible: 2018.2.9f1
Reproduced on: iPad Pro 10.5" iOS 10.3.3, iPhone X iOS 11.3.1, Phone XS iOS 12.0
Didn't reproduce: iPhone 8Plus iOS 12.0, iPhone 6S iOS 11.0
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Video preview in the Inspector freezes shortly after the first play and does not recover until paused and replayed
- MSB3277 conflicts between different versions of "System.Numerics.Vectors" when using DotNet 11.0
- "Cannot create Settings Providers for: CreateAllChildSettingsProviders" error is thrown in the Console after fixing PolySpatial visionOS package validation error after installing XR Interaction Toolkit VisionOS Sample
- "Unable to find style 'VideoClipImporterLabel' in skin 'GameSkin' " warning thrown when converting the Video Clip Inspector to a floating window in Play mode
- Unclear "Failed to start primary listening socket" error when launching the Multiplayer Play Mode second player and many Unity instances are running
Add comment