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
- [Linux] Window location is not saved when reopening windows
- Selecting default reference on script asset causes immediate code compilation
- The Fallback font does not get displayed when a fallback happens with the UIToolkit Label text
- Vertical split of both "Preferences" and "Project Settings" windows is not staying alligned with the mouse pointer when moved
- Both "Unity Forum" and "Unity Discussions" selections in the "Help" dropdown open the same link
Add comment