Search Issue Tracker

Third Party Issue

Votes

0

Found in

2021.3.44f1

2022.3.50f1

6000.0.23f1

6000.1.0a7

7000.0.0a1

Issue ID

UUM-83761

Regression

No

[Android] App in Split Screen resizes incorrectly and doesn't fill the entire window when rotating from landscape to upside-down portrait orientation

--

-

*Steps to reproduce:*

1. Open the attached "ScreenOrientation.zip" project

2. In File > Build Profiles choose Android Platform

3. Go to Player Settings > Resolution and Presentation

4. Make sure that "Resizable Activity" and "Run Without Focus" settings are enabled

5. Build and Run to the Android device (enable auto-rotate on the device)

6. Open Unity app in Split Screen with Native device app (e.g. Settings)

7. Press "Autorotation" button in the Unity app and enable all orientations

8. Rotate device to Landscape Left then to Portrait Upside Down

 

*Actual results:* View stays in Landscape Left but resizes once it's rotated

*Expected results:* View stays in Landscape Left and doesn't resize

 

*Reproducible with versions:* 2021.3.44f1, 2022.3.50f1, 6000.0.23f1

*Reproducible with devices:*
* VLNQA00499 - Google Pixel 7 (Pixel 7), CPU: Google Tensor G2, GPU: Mali-G710, OS: 15
* VLNQA00498 - Google Pixel 7 (Pixel 7), CPU: Google Tensor G2, GPU: Mali-G710, OS: 13

*Not reproducible with devices:*
* VLNQA00467 - Galaxy S21 Ultra 5G (SM-G998B), CPU: Exynos 2100, GPU: Mali-G78, OS: 13
* VLNQA00323 - Galaxy Note 10 USA (SM-N970U), CPU: Snapdragon 855 SM8150, GPU: Adreno 640, OS: 12
* VLNQA00090 - Samsung Galaxy S8 (USA) (SM-G950U), CPU: Snapdragon 835 MSM8998, GPU: Adreno 540, OS: 7.0
* VLNQA00423 - Google Pixel 3 (Pixel 3), CPU: Snapdragon 845, GPU: Adreno 630, OS: 9
* VLNQA00377 - Google Pixel 5 (Pixel 5), CPU: Snapdragon 765/765G, GPU: Adreno 620, OS: 12

  1. Resolution Note:

    I tried investigating this issue in a project without Unity, and the problem is Android randomly applies resizing to window when it's in split screen + requesting specific orientation. The behavior is very random, which leads me to believe there's a bug in Android itself.

    As far as I know Google is refactoring Window system, and it might be completely different in Android 15. So I think before fixing bug like this, we should wait until Google fixes their stuff on their end.

    I am attaching SplitWindowingTests.zip, which is pure Android project if somebody wants to play around

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.