Search Issue Tracker
By Design
By Design in 2023.2.X
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
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
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
Resolution Note (2023.2.X):
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