Android 16 Compatibility Guide
Last updated
Handling Screen Orientation and Resizable Activity Settings
Starting from Android 16 (API level 36), Android will ignore certain restrictions like fixed orientation and non-resizable windows on large-screen devices (foldables, tablets, etc.). To ensure your app works properly, you must update your Unity Player Settings.
Default Orientation
Go to Edit > Project Settings > Player
Select the Android tab
Open Resolution and Presentation
Set Default Orientation to:
✔ Auto RotationThis prevents the system from locking the orientation to portrait or landscape, which may be ignored or cause layout issues on foldables.
Resizable Window
Go to Player > Android > Other Settings
Scroll down to Configuration
Make sure Resizable Window is:
This ensures that your app can run in split-screen and multi-window modes, which is required on Android 16+ large screens.
If you leave the following settings:
Android 16 will ignore them on tablets and foldables, potentially breaking your layout. Unity may add these automatically unless you adjust your Player Settings as described.
If you're overriding the manifest manually:
Avoid hardcoding android:screenOrientation
Set resizeableActivity="true"
But remember: Unity Player Settings may overwrite your manifest unless you're using a custom mainTemplate.gradle and manifest override.
Default Orientation
Player > Android > Resolution and Presentation
Auto Rotation
Resizable Window
Player > Android > Other Settings
Enabled ✔
By following these steps, you ensure your Unity app is ready for Android 16, and works properly across all screen sizes and form factors.
Last updated
✔ Enabled (checked)<activity android:screenOrientation="portrait" android:resizeableActivity="false" />