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
- Blank, Light-Themed "Create Node" window becomes visible on the next project open
- UI Elements/Layout inconsistencies in the Particle System component
- The Game view and Scene view fail to render when launching the Editor with a maximized Render Graph Viewer window
- "List is empty" is poorly visible in the "Create Node" window
- [Android] GameObject with a custom shader becomes invisible when deployed with the Vulkan Graphics API
Resolution Note:
Permissions have to be declared in the manifest, only then app can request them, otherwise they are auto-rejected.