Search Issue Tracker

By Design

Votes

0

Found in

2018.1.0b11

Issue ID

1016499

Regression

No

[Mobile] Rotation-related flicker using Screen.orientation

Mobile

-

Reproduction steps:
1. Open the attached project.
2. Build it to a device (iOS preferably).
3. Swap between 'Portrait' and 'PortraitUpsideDown' orientation up to 20 times.

Actual behavior:
- 5-50% of the time screen redraws itself in an opposite orientation for a few frames when screen is rotated. It looks like a flicker.

Expected behavior:
- Constant behavior on every screen rotation.

Reproduced with:
- 2017.2.2p2, 2017.3.2f1, 2018.1.0b12, 2018.2.0a6
- iPhone 7 iOS 11.0.2, iPod Touch 6th gen iOS 10.2.1

Note:
- It may be an iOS only issue. It reproduces 100% of the time on Android devices, but instead of flicker, you can see a brief shadow of a text in the yellow area of the screen. It is more difficult to notice this issue using Android as rotation animation is played when a device is rotated.
(Google Pixel 2*, OS:8.0.0, CPU:arm64-v8a, GPU:Adreno (TM) 540, Build:google/walleye/walleye:8.0.0/OPD1.170816.010/4311506:user/release-keys)

  1. Resolution Note:

    By design: user's script rotates GUI and sets new screen orientation at the same time. GUI is flipped immediately, while screen orientation change takes effect on next frame.

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.