Unity iOS Build Error - Microphone Usage Description & BeeBuildPostprocessor
Unity iOS Build Error - Microphone Usage Description & BeeBuildPostprocessor
Build Error Series (6 / 8)
- Unity Build Issue Fix Collection - ID 238, Strip Engine Code, cs0246
- Unity - Fix for xcworkspace Not Being Generated
- Unity Build Issue Fix Collection - Gradle build failed, type initializer exception
- How to Fix Unity Android Permission Not Being Removed Issue
- Unity Android Build Error Fix - DexArchiveMergerException & MultiDex
- Unity iOS Build Error - Microphone Usage Description & BeeBuildPostprocessor
- Unity iOS TestFlight Upload Error Fix - Asset validation failed (90206) Invalid Bundle
- Unity Addressable Error Fix - RuntimeData is null, Invalid path in TextDataProvider
Identifying the Cause
- Added a plugin called FFmpeg Unity Bind 2.
- The project did not access the camera or microphone before, but it seems to access them after adding the plugin.
Error Log
1
2
3
4
5
6
7
8
9
Microphone class is used but Microphone Usage Description is empty in Player Settings.
System.Exception: Microphone class is used but Microphone Usage Description is empty in Player Settings.
at PlayerBuildProgramLibrary.FeatureExtractor.Run(CSharpActionContext ctx, Data data) in /Users/bokken/build/output/unity/unity/Editor/IncrementalBuildPipeline/PlayerBuildProgramLibrary/FeatureExtractor.cs:line 38
*** Tundra build failed (8.57 seconds), 3421 items updated, 3688 evaluated
ExitCode: 3 Duration: 8s596ms
1
2
3
4
5
6
7
8
9
BuildFailedException: Player build failed: 15 errors
at UnityEditor.Modules.BeeBuildPostprocessor.PostProcess (UnityEditor.Modules.BuildPostProcessArgs args) [0x00213] in /Users/bokken/build/output/unity/unity/Editor/Mono/Modules/BeeBuildPostprocessor.cs:718
at UnityEditor.iOS.iOSBuildPostprocessor.PostProcess (UnityEditor.Modules.BuildPostProcessArgs args) [0x002a2] in <cefdead0678a425ab2e0c2483a1910f2>:0
...
(Filename: /Users/bokken/build/output/unity/unity/Editor/Mono/Modules/BeeBuildPostprocessor.cs Line: 718)
- As seen in this Unity Bug Discussion, there is a text file named “FeatureCheckList.txt” in the “Library/Bee/artifacts/MacStandalonePlayerBuildProgram/Features/” subfolder of the Unity project internal library. It seems the build fails if the Description is not provided.
Solution
Go to Player Settings - Other Settings or search for “description” in the search bar.
- Camera Usage Description
Microphone Usage Description
- If either of these fields is empty, fill them with any text, and the build will succeed… It’s truly an absurd bug.
This post is licensed under CC BY 4.0 by the author.


