Search Issue Tracker

Fixed in 2019.1

Votes

0

Found in

2017.4.5f1

2018.2.3f1

Issue ID

1075855

Regression

Yes

[iOS] Unity rendering in wrong screen orientation after auto rotation on iOS using Screen.orientation

iOS

-

To reproduce:
1. Open users attached project "Bug auto rotation 2.zip"
2. Open "scene.unity" scene
3. Build for iOS device
4. Open the Xcode file and deploy to iOS device
5. Hold the device in portrait mode (before.png) and enable Landscape checkbox
6. Still holding the phone in portrait mode uncheck the Landscape checkbox

Expected result: the display is rotated back to portrait mode
Actual result: the display orientation is rotated back but the canvas is position off center and is shaped like it would still be in Landscape mode (after.png)

Reproduced on:
2017.4.5f1 2017.4.11f1 2018.1.9f2 2018.2.8f1 2018.3.0b1

Not reproduced on:
2017.4.0f1 2017.4.4f1

Device reproduced on:
iPhone 7 iOS 11.0 with Metal, OpenGLES3, OpenGLES2

Didn't reproduce on Xiaomi Mi Note Pro, Adreno 430 GPU, OS 7.0

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.