Search Issue Tracker
By Design
Votes
0
Found in
2018.4
2019.4
2019.4.0f1
2020.1
2020.2
Issue ID
1256479
Regression
No
[Audio] Mixer is suspended in a built game when using a dll midi player as the only source of audio
How to reproduce:
1. Open the attached "1256479 repro" project
2. Open Build Settings from File > Build Settings
3. Make sure that "ActualResults" Scene is the only Scene marked for building
4. Build and Run the project
Expected results: audio is being played in the built game
Actual results: there is no audio present in the built game
Reproducible with: 2018.4.25f1, 2019.4.4f1, 2020.1.0b16, 2020.2.0a18
Notes:
-In Unity version 2019.2.0b10 and above, the audio works fine in the Editor but in version 2019.2.0b9 and below the Editor audio also doesn't work
-Having an empty Audio Source in the Scene outputting to the Mixer fixes the issue. This workaround is included in the "ExpectedResults" Scene
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
- "EndLayoutGroup: BeginLayoutGroup must be called first." error is thrown after building the project when Scripting Backend and Api Compatibility Level fields are changed
- GameObjects with Local Volumetric Fog Component and Fog Volume Shader Graph produce numerous render errors when there are more than 300 of them generated in the Scene
- Adaptive Probe Volumes system places some Light Probes in incorrect positions when Generating Lighting
- Constant buffer is not properly updated for the depth pass when rendering a custom mesh on DirectX12
- AfterRendering Event of the URP RendererFeatures renders with inverted Y axis
Resolution Note:
Since the Audio Mixer doesn't have any direct references in the project, it gets stripped from the final build as part of the standard Unity behavior. Because of that, no audio will be played in the built game.