Search Issue Tracker
Fixed in 2018.1.X
Fixed in 2017.1.X, 2017.2.X, 2017.3.X
Votes
0
Found in
Issue ID
942401
Regression
No
[iOS] When disabling current autorotation orientation via Screen.autorotateTo*, screen does not rotate away
Reproduction steps:
1. Open attached project and build for iOS
2. The project toggles autorotation to portrait and portraitUpsideDown orientations setting each 5 seconds.
3. Hold device in portrait orientation.
4. During a 5 second window when portrait orientations are disabled (look for a message in the logs):
4.1. Notice that the screen orientation does not change -- the screen stays at portrait even though it's now disabled.
4.2. Rotate the device to landscape. Notice that the screen orientation changes to landscape.
4.3. Rotate back to portrait. Notice that the screen does not rotate.
Expected behavior:
The device should rotate to landscape whenever portrait orientation is disabled and rotate back whenever it's enabled.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- "SupportsRandomWriteOnRenderTextureFormat()" shows "False" when executed on 2023.2 and 6000.0 streams
- Size of ShadowCaster2D with Casting Source set to a Collider increases when RigidBody2D is attached to the GameObject
- GameObjects with a material derived from a Custom Lighting Surface Shader are displayed as skewed on quads when the Camera's Width and Height properties of the Viewport Rect are lower than 1
- Warning 'Unable to find player assmebly' is thrown when building some Project Templates
- ArgumentOutOfRangeException when manipulating the Project Settings search bar
Add comment