Search Issue Tracker
By Design
Votes
0
Found in
2018.3.0a9
2018.3.0b12
Issue ID
1103388
Regression
Yes
[Android] Player freezes after granting app permission
[Android] Player freezes after granting app permission
Steps to Repro:
1. Open attached project
2. Make a build and Run for Android
Actual Result: Player freezes after granting app Permission
Expected Result: App Permission is granted and the player resumes
Workaround: Restart the game
Occurs on:
2019.1.0a10, 2018.3.0b12, 2018.3.a9
Working fine on:
2018.2.0f2, 2017.3.4f1
Environment:
Windows 10, Mac 10.13
Note: Tested with Record_Audio, Camera permissions
Occurs on Device OS:
Marshmallow (Android 6.0) and above
Tested Devices:
Google Pixel 2 (Android 8.0), Samsung S8 (Android 7.0) and One Plus 3 (Android 8.0)
Comments (1)
-
shubhamswaraj2021
Aug 18, 2020 08:03
good one <a href="https://www.lyricsauto.com">lyricsauto</a>
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
- NullReferenceException is thrown when assigning PanelSettings asset to a UIDocument dynamically at runtime
- Crash on GfxDeviceD3D12Base::DrawBuffersCommon when disabling "Allow FSR2" parameter while in Play Mode with Direct3D12 set as graphics API
- Crash on vkGetInstanceProcAddr when setting graphics API to "Vulkan" on Fantasy Kingdom learning project
- Overlay Camera "clear depth" not working on Vulkan+Pixel8
- Shadows from Shadow Caster 2D using 2D Colliders show incorrectly when tiles are removed at runtime
Resolution Note (2018.3.X):
Basically while using runtime permissions, it is not possible to use Microphone.devices or WebCamTexture.devices immediately. When you check these properties for the first time, empty arrays are returned, but at the same time user is being asked about permission to record sounds/use camera. So next time, if permission was granted, Microphone.devices or WebCamTexture.devices will return real arrays of recording/camera devices.
Also it is not very good idea to check for Microphone.GetPosition(null) synchronously using endless loop. That is the problem why application froze (in case of camera there was no freeze, but camera didn't work, that's why there was black screen).