Search Issue Tracker
By Design
Votes
0
Found in
2020.3.17f1
Issue ID
1359325
Regression
No
Build process succeeds when building without Microphone Usage Description while using Microphone methods in Project
Behavior for Microphone Permissions should be the same as Camera Permissions - if you're using the Camera methods and its Usage Description fields is not filled, the Build process fails
To reproduce:
1. Download the attached "testMicrophone.zip" project and open it in Unity
2. Open the "HotMic" scene
3. In Project settings observe that the Microphone Usage Description field isn't filled
4. Build and Run
Expected results: Build process fails because Microphone Usage Description is not filled
Actual result: Build process succeeds and Player crashes
Notes:
- Similar issue https://issuetracker.unity3d.com/issues/build-process-succeeds-when-building-without-bluetooth-usage-description-while-using-bluetooth-methods-in-project
- Project sometimes corrupts on 2021.1.18f1, 2021.2.0b9, and 2022.1.0a5 but the issue should be still reproducible
Reproduced on Unity 2019.4.23f1, 2020.3.17f1, 2021.1.18f1, 2021.2.0b9 and 2022.1.0a5
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 an Object to a custom DebugUI.ObjectField in Rendering Debugger
- SystemInfo.get_graphicsDeviceName() is generating garbage GC Alloc when using Metal graphics API
- Crash on D3D12CommonShader::ApplyGpuProgram when attaching material which samples "_UnityFBInput0" to "Full Screen Pass Renderer Feature" Component
- SpeedTree meshes and objects count differs when comparing the numbers in the Player with the Editor
- Model and Prefab Preview icons are not updated after upgrading associated Materials to URP
Resolution Note:
If it is solely used in plugins, we have no way to detect that the microphone is used. In this case, the developer will need to make sure they've filled in the description. Otherwise this crash will happen