Search Issue Tracker
Won't Fix
Votes
0
Found in
2022.3.59f1
6000.0.41f1
6000.1.0b9
6000.2.0a6
7000.0.0a1
Issue ID
UUM-99058
Regression
No
[Android] An app reload is required to fill the whole Viewport when unfolding a Pixel Fold device with the Allowed-Orientations set to only Landscape
How to reproduce:
1. Open the “RotationReproProject.zip“ project
2. Open the “SampleScene“
3. Make sure that the “AutorotationManger“ GameObject is disabled
4. Navigate to the “Edit > Player Settings > Android > Resolution and Presentation“ window
5. Toggle on “Landscape Right“ and “Landscape Left“ properties (The “Portrait“ and “Portrait Upside Down“ must be untoggled)
6. Build for Android
7. Install the app on a Fold device
8. Run the app on a folded device
9. While the device is in the Landscape position unfold it
Expected result: The application fills out the whole Viewport of the unfolded device
Actual result: The application does not fill out the whole Viewport of the unfolded device
Reproducible with: 2022.3.59f1, 6000.0.41f1, 6000.1.0b9, 6000.2.0a6
Reproducible environment: macOS 15.3.1 (M4 Max), Windows 10 (Reporters)
Not reproducible environment: No other environment tested
Reproducible with these devices:
VLNQA00628, Google Pixel 9 Pro Fold (Pixel 9 Pro Fold), Android 14, CPU: Google Tensor G4 (GS401), GPU: Mali-G715
Workaround:
1. In the “Edit > Player Settings > Android > Resolution and Presentation“ window enable all of the rotation properties (“Landscape Right“, “Landscape Left“, “Portrait“, “Portrait Upside Down“)
2. Create a new MonoBehaviour script and write this code snippet in the “Start()/Awake()“ method:
{noformat}Screen.autorotateToPortrait = false;
Screen.autorotateToPortraitUpsideDown = false;
Screen.autorotateToLandscapeLeft = false;
Screen.autorotateToLandscapeRight = false;
Screen.autorotateToLandscapeLeft = true;
Screen.autorotateToLandscapeRight = true;{noformat}
3. Attach the script to a GameObject in the “SampleScene“
Note: Only disabling all of the Allowed Orientations for Auto Rotation using the “Screen” API, and then enabling the Landscape ones will work as a workaround. If you just disable the Portrait ones using the “Screen” API issue will still reproduce
Comments (1)
-
BrettWhitney
Jul 08, 2025 08:58
To download an Android app, simply open the Google Play Store, search for the app by name, and tap "Install." If you're unsure which app to choose or need help finding trusted options, chatgptgratis.com.ar can recommend apps based on your needs and guide you through the installation process safely.
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
- “[In Project] Unknown filter “i”” message is thrown in Search window
- [Ubuntu] Asset Bundles Dropdowns Contain Empty Row in Inspector
- Symbols are generated for a third-party native plug-in with 'Shared Library Type' set to 'Executable' when building for Android
- "Search by Import Log Type" Icon Nearly Invisible in Light Theme (Project Window)
- [Android] Realtime Directional Light turns off when there is no realtime shadow caster in the view
Resolution Note:
This is a very specific combination of Pixel 9 Pro Fold and Android 14. Android 15 fixes the issue and there is a workaround for earlier devices. The 9 Pro Fold was released towards the end of Android 14 and many of them will have shipped with Android 15 on day 1.