Search Issue Tracker
By Design
Votes
0
Found in
2021.3.16f1
2022.2.1f1
2023.1.0a24
2023.2.0a1
Issue ID
UUM-22476
Regression
No
[iOS] Forcing orientations at runtime doesn't work on iPad devices when "Requires Fullscreen" is disabled
Steps to reproduce:
- Open attached project
- Switch to iOS
- Open Player Settings/Resolution and Presentation tab
- Disable Requires Fullscreen setting and make sure Autorotation is enabled with all 4 orientations allowed
- Build and run on an iPad device
- Try to force orientations using one of the buttons at the top-left ({}Portrait{}, {}Portrait Upside Down{}, Landscape Left or Landscape Right buttons)
Expected behaviour: The app should start forced in Portrait orientation and forcing other orientations using the buttons should result in app rotating to said orientations.
Actual behaviour: The app starts with all 4 orientations allowed and ignores all of the attempts to force one specific orientation.
Reproduced with: 2021.3.15f1, 2022.2.2f1, 2023.1.0a25
Tested with:
iPad Pro M1, iOS 16.0 - Reproduced
iPad Mini 6, iOS 15.0 - Reproduced
iPhone 14 Pro Max, iOS 16.0 - Not reproduced
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
Resolution Note:
Multitasking apps must support all orientations. You can opt out of multitasking by enabling Requires full screen on your iOS target or by not declaring support for all possible orientations within the Info.plist file.
It is written in here: https://developer.apple.com/documentation/uikit/uiviewcontroller/1621435-supportedinterfaceorientations?language=objc