Search Issue Tracker
By Design
Votes
0
Found in
2021.3.39f1
2022.3.31f1
6000.0.5f1
Issue ID
UUM-73467
Regression
No
[Android] Pop-up to allow permission gets automatically denied
How to reproduce:
1. Open the “IN_77212” project
2. In the Build Settings “Run Device” dropdown, select the desired device
3. Press Build And Run
4. Observe the Player
Expected result: Asks to allow permissions
Actual result: “Permission state: Denied” text
Reproducible with: 2021.3.39f1, 2022.3.31f1, 6000.0.5f (1.3.0, 1.7.0, 1.8.2 (Input System versions))
Testing environment: Windows 10 Pro
Not reproducible on: No other environment tested
Reproducible on these devices:
VLNQA00363, Samsung Galaxy Z Fold2 5G (SM-F916B), Android 11, CPU: Snapdragon 865 SM8250, GPU: Adreno (TM) 650
VLNQA00267, Samsung Galaxy S10+ (SM-G975F), Android 12, CPU: Exynos 9 (9820), GPU: Mali-G76
VLNQA00321, Xiaomi MI 9 (MI 9), Android 10, CPU: Snapdragon 855 SM8150, GPU: Adreno (TM) 640
VLNQA00120, Google Pixel 2 (Pixel 2), Android 8.1.0, CPU: Snapdragon 835 MSM8998, GPU: Adreno (TM) 540
Notes:
- Couldn’t test with iOS as the code in the “StepLogger” script is specific to the Android platform
- Couldn’t test with added permission in custom Main Manifest due to error “Resource 'style/BaseUnityGameActivityTheme' not found in AndroidManifest.xml:82,
(See the Console for details)“
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Unity CIL Linker fails on Player build when persistent listeners have "<" and ">" in their XML attribute names
- ”Lighting data asset ‘LightingData’ is incompatible with the current Unity version…” warnings are thrown when saving Indoors (URP) and Outdoors (URP) Scenes as Scene Templates
- [iOS] The screen blinks when transitioning from custom to Unity splash screen
- [macOS] ”Ignoring depth surface load action as it is memoryless” warnings are thrown when taking Game View Snapshot
- UI Builder Inspector scrolls back up when changes on an expanded but not fully displayed Inspector tab are saved
Resolution Note:
Permissions have to be declared in the manifest, only then app can request them, otherwise they are auto-rejected.