Search Issue Tracker

Fixed

Unknown (hidden) 2020.3.X, 2021.3.X, 2022.1.X, 2022.2.X, 2023.1.X

Votes

1

Found in

2020.3.37f1

2021.3.8f1

2022.1.12f1

2022.2.0b3

2023.1.0a3

Issue ID

UUM-10815

Regression

No

[Android] Crash on "java.lang.SecurityException: listen" when building for Android 12 with Target API set to 31 or higher

--

-

Reproduction steps:
1. Connect Bluetooth headphones/speakers to the Android device
2. Open the user's attached "DeleteMe.zip" project
3. Build and Run a "SampleScene" Scene for Android
4. On the device, bring the application to the background
5. Bring the application to the foreground
6. Observe the crash

Reproducible with: 2020.3.37f1, 2021.3.8f1, 2022.1.12f1, 2022.2.0b3, 2023.1.0a3
Couldn't test with: 2023.1.0a4 (IOException: Operation did not complete successfully because the file contains a virus or potentially unwanted software)

Reproducible with these devices:
Samsung Galaxy Z Flip3 5G (SM-F711B), Android 12, CPU: Snapdragon 888, GPU: Adreno (TM) 660
Samsung Galaxy S22 (SM-S901B), Android 12, CPU: Exynos 2200, GPU: Ltd.

Not reproducible with these devices:
Samsung Galaxy S10+ (SM-G975F), Android 10, CPU: NOT FOUND, GPU: Mali-G76
Huawei - (ELS-NX9), Android 10, CPU: HiSilicon Kirin 990 5G, GPU: Mali-G76
iPad 6th gen (iOS 14.4.2)
iPhone 8 Plus (iOS 14.4.2)

Not reproducible with: Windows Standalone

Notes:
- Reproducible only when the "Development Build" box is checked
- Reproducible only when Bluetooth headphones/speakers are connected

First few lines of the stack trace:
JNI DETECTED ERROR IN APPLICATION: JNI CallVoidMethodA called with pending exception java.lang.SecurityException: listen
at java.lang.Exception android.os.Parcel.createExceptionOrNull(int, java.lang.String) (Parcel.java:2425)
at java.lang.Exception android.os.Parcel.createException(int, java.lang.String) (Parcel.java:2409)
at void android.os.Parcel.readException(int, java.lang.String) (Parcel.java:2392)
at void android.os.Parcel.readException() (Parcel.java:2334)

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.