How to reproduce:
1. Open the attached project "BuildFail"
2. In the Build Profiles, switch to the "Custom" Build Profile
3. Click "Build And Run"
4. Observe the Console
Expected results: No microphone-related errors are thrown
Actual results: "Microphone class is used but Microphone Usage Description is empty in Player Settings." error is thrown
Reproducible with: 6000.4.0b11, 6000.5.0a8
Can't test with: 6000.0.69f1, 6000.3.10f1 (Meta packages errors)
Reproducible with: macOS Tahoe 26 (M1)
Not reproducible with: No other environment tested
Note: In 6000.5.0a8 the error is thrown the building the project for the second time
First lines of error:
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