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
- Shader Graph Node information is briefly displayed in Graph Inspector when clicking on Category in the Blackboard
- Module installation fails with "Download failed: Validation Failed" errors when using beta.2 Hub version
- JsonConvert conversion fails trying to call GetCallbackMethodsForType when [OnDeserialized] is used in a class
- Shader Graph Category dropdown cannot be expanded/collapsed when clicking on the text
- Different text alignment in the column header in Entities "System" window
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