Search Issue Tracker

Active

Under Consideration for 6.2.X

Votes

0

Found in [Package]

6.2.0

Issue ID

ARCB-61

Regression

No

[Android] Permission window is not shown when using a Build App Bundle (Google Play) with Minify set to Release

Package: ARCore

-

How to reproduce:
1. Open the “ReproProject.zip“ project
2. In the “Edit > Project Settings > Player > Publishing Settings“ enable Release Minify
3. In the “File > Build Settings“ enable Build App Bundle (Google Play)
4. Upload the “.abb“ file on Google Play Store for internal testing
5. Download the app and open it
6. Press the “New Game“ button

Expected result: The application asks for Camera permissions and the AR Camera shows the Camera view
Actual result: The application does not ask for Camera permissions and the AR Camera shows a black screen

Reproducible with: 6000.0.53f1, 6000.1.11f1, 6000.2.0b9, 6000.3.0a1
Could not test with: 2021.3.53f1, 2022.3.64f1 (Gradle issue I could not resolve preventing from building)

Reproducible environment: macOS 15.4.1  (M4 Max)
Not reproducible environment: No other environment tested

Reproducible with these devices:
VLNQA00319, Google - (Pixel 4), Android 13, CPU: Snapdragon 855 SM8150, GPU: Adreno (TM) 640 (“.abb“ + Build and Run)
VLNQA00334, Xiaomi - (Mi A3), Android 11, CPU: Snapdragon 665 SM6125, GPU: Adreno (TM) 610 (Only Google Play Store)
VLNQA00511, Samsung Galaxy S8 (SM-G950F), Android 9, CPU: Exynos 9 Octa 8895, GPU: Mali-G71 (“.abb“ + Build and Run)
VLNQA00335, Samsung Galaxy S20+ 5G (SM-G986B), Android 10, CPU: Exynos 990, GPU: Mali-G77 (“.abb“ + Build and Run)
VLNQA00640, Samsung - (SM-S938B), Android 15, CPU: Snapdragon 9 Elite (SM8750), GPU: Adreno (TM) 830 (“.abb“ + Build and Run)

Notes:
- Disabling “Release“ Minify, makes the issue not reproducible
- With some devices, the issue reproduces when locally uploading the “.abb“ file with the Build and Run function
- Does not reproduce on iOS according to the original reporter

A few lines of the error:
Error Unity AndroidJavaException: java.lang.ClassNotFoundException: com.unity3d.plugin.UnityAndroidPermissions
Error Unity java.lang.ClassNotFoundException: com.unity3d.plugin.UnityAndroidPermissions

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.