Search Issue Tracker

By Design

By Design in 6000.6.X

Votes

0

Found in

6000.4.0b11

6000.5.0a8

6000.6.0a1

Issue ID

UUM-135925

Regression

No

"Microphone class is used but Microphone Usage Description is empty in Player Settings." error is thrown when building the custom macOS Build Profile with Meta packages installed in the project

MacOS

-

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

  1. Resolution Note:

    Thank you for reporting a bug to Unity.

    After reviewing the behavior, we've confirmed it aligns with the current design and intended use of the feature. We understand this may differ from your expectations or workflow.

    If any of scripts of plugins in the project uses Microphone class, entering it's usage description in Player Settings is required. Note, that when using custom build profile player settings can be customized, in such case description has to be entered for the customized settings in the build profile.

  2. Resolution Note (6000.6.X):

    Thank you for reporting a bug to Unity.

    After reviewing the behavior, we've confirmed it aligns with the current design and intended use of the feature. We understand this may differ from your expectations or workflow.

    If any of scripts of plugins in the project uses Microphone class, entering it's usage description in Player Settings is required. Note, that when using custom build profile player settings can be customized, in such case description has to be entered for the customized settings in the build profile.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.