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
- Standalone Player crashes with "TDerived GetOrLoad<TDerived>() where TDerived : T" when IL2CPP Code generation is set to "Faster (smaller) Builds"
- IndexOutOfRangeException and InvalidOperationException when logging XML string
- Script missing in "Assets/Settings/Mobile_Renderer/GlobalVolumeFeature" of "com.unity.template.urp-blank" template
- “Font Asset Creator - Error Code [Invalid_File_Structure]…“ error is logged when generating Font Assets from fonts with meta files from previous Editor versions
- Input.mousePosition returns (NaN, NaN, 0.00) when Scene view is opened
Add comment