(:3[kanのメモ帳]

個人ゲーム開発者kan.kikuchiのメモ的技術ブログ。月木更新でUnity関連がメイン。

(:3[kanのメモ帳]


本ブログの運営者kan.kikuchiが個人で開発したゲームです!

    

Invalid Bundle. iPad Multitasking support requires these orientationsというエラーが出た時の対処法【Unity】【iOS】


このエントリーをはてなブックマークに追加


Unity 2021.3.4f1
Xcode Version 13.3.1


はじめに

今回はUnityでiOS用(Xcode)のプロジェクトをビルドし、

XcodeでArchiveしてアップロードしようとした時に

Invalid Bundle. iPad Multitasking support requires these orientations:
'UIInterfaceOrientationPortrait,UIInterfaceOrientationPortraitUpsideDown,
UIInterfaceOrientationLandscapeLeft,UIInterfaceOrientationLandscapeRight'.
Found 'UIInterfaceOrientationLandscapeRight,UIInterfaceOrientationLandscapeLeft' in bundle


というエラーが出てアップロード出来ない場合の対処法です!


対処法

まず今回のエラーは

「iPadでマルチタスク機能を使うためには縦画面も横画面も対応してね」というものです。



なので両方向対応するか、マルチタスク機能に対応しなければいいのですが、

そもそもゲームで両方向対応するという事はなかなか無いと思うので、

今回はマルチタスク機能への対応を諦めます。


マルチタスク機能に対応しないようにするにはRequires full screenにチェックを入れるだけ。


ちなみにUnityではProject SettingsのPlayerの欄で設定出来ます。