Reproduction steps:
1. Build the Player in Batch mode with JenkinsBuild.PerformAndroidBuild
2. Open the build using a mobile device
3. Observe the Player
Expected result: After the app is launched a pop-up is thrown asking for the camera permission
Actual result: After the app is launched no pop-up is thrown
Reproducible with: 2021.3.35f1, 2022.3.20f1, 2023.2.11f1, 2023.3.0b6
Reproduction environment: macOS Sonoma 14.3 (Intel), Windows 10 (user’s)
Not reproducible environment: No other environment tested:
Reproducible with these devices:
VLNQA00175, Samsung Galaxy Note9 (SM-N960F), Android 10, CPU: Exynos 9 (9810), GPU: Mali-G72
VLNQA00519, Google Pixel 4 (Pixel 4), Android 12, CPU: Snapdragon 855 SM8150, GPU: Adreno (TM) 640
VLNQA00372, Samsung SM-G991U (SM-G991U), Android 12, CPU: Snapdragon 888, GPU: Adreno (TM) 660
Not reproducible with these devices:
iPad Air 4th Gen (iOS 15.2.1)
Could not test with these devices:
VLNQA00057, Htc One M9+ (HTC_M9pw), Android 6.0, CPU: MediaTek Helio X10 MT6795T, GPU: PowerVR Rogue G6200 (The project requires Android 24 SDK or newer)
VLNQA00146, Htc 10 (HTC 10), Android 7.0, CPU: Snapdragon 820 MSM8996, GPU: Adreno (TM) 530
(The “Google Play Services for AR” is not available for this device)
iPhone 12 mini (iOS 14.1) (The project crashes upon launch)
Notes:
- Not reproducible when using BuildCommand.PerformBuild
- Not reproducible when building the Player through the Editor
- Example command: /Applications/Unity/2022.3.20f1/Unity.app/Contents/MacOS/Unity -projectPath /Users/YOURNAME/ASDQWE -quit -batchmode -nographics -executeMethod JenkinsBuild.PerformAndroidBuild