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)
-
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
- [VFX] Custom HLSL with 'int' parameter, without the 'in/out/inout' access modifier is not supported
- [Windows] Lens Flare doesn't work in the Lens Flare Showroom URP Sample Scene
- Crash on ujob_execute_job while using OverlapBoxCommand when collisions are more than maxHits
- The validity of the multiple handles can behave differently based on the load/release operations order, when multiple Addressables.LoadAssetAsync and Addressables.Release are used to load and release the same Addressable Asset
- Dynamic text is rendered in the background when it is inside the <font> tag
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).