Search Issue Tracker

By Design

Votes

0

Found in

2022.3.60f1

6000.0.45f1

6000.1.0b12

6000.2.0a7

Issue ID

UUM-101292

Regression

No

[Android] Android Player leaking into secondary display/monitor when the application is minimised

-

How to reproduce (physical device):
1. Open the “SampleButton.zip“ project
2. Open the “SampleScene“
3. Build for Android
4. Make sure that you have a device that has MHL support
5. Connect the device to an External Monitor with a USB-C to HDMI cable
6. Open the application and minimize it on the Android device (Primary Display)

How to reproduce (Android Studio Virtual Devices):
1. Open the “SampleButton.zip“ project
2. Open the “SampleScene“ scene
3. Build for Android
4. Open the APK in the Android Studio
5. Create a Virtual Device (“Tools > Device Manager > ‘+' > Create Virtual Device“)
6. Start the Virtual Device and drag and drop the APK into it
7. In the *Running Devices* window click on the ' ⋮ ’ symbol and navigate to the Displays section
8. Add a few displays and click on Display Changes
9. Open the application and minimize it on the Android device (Primary Display)

Expected result: The application does not “leak“ to the External Monitor/Additional display
Actual result: The application “leaks“ to the External Monitor/Additional display

Reproducible with: 2022.1.0b1, 2022.3.60f1, 6000.0.45f1, 6000.1.0b12, 6000.2.0a7

Reproducible environment: macOS 15.3.1  (M4 Max), Windows 11 (Reporters)
Not reproducible environment: No other environment tested

Reproducible with these devices:
VLNQA00335, Samsung Galaxy S20+ 5G (SM-G986B), Android 10, CPU: Exynos 990, GPU: Mali-G77
Pixel 6 Pro (Android Studio)
Pixel 9 Pro (Android Studio)

Not reproducible with these devices:
VLNQA00626, iPhone 16 (MYE73QN/A), CPU: Apple A18 Pro, GPU: Apple designed, OS: 18.3.1

Note: There might be other ways how to connect the physical device to the External Monitor than the one described here

  1. Resolution Note:

    This is the expected behaviour of the UnityPlayer. When a Presentation Display is detected, a Presentation is created with a SurfaceView rendering the content of Target Display 2. Hiding the presentation when the Activity is put in the background would be a change to the usual behaviour.

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.