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
- Asset preview doesn't update on changing shader's _GlobalColor property when the shader uses global uniforms
- Crash on GetSpriteAtlasDependenciesFromBinary when opening specific project
- Animation Clip with Legacy enabled does not play when Time.timeScale is set to 0 despite Update mode set to "Unscaled time"
- Rename is enabled on subfolder empty space - "Can't rename to empty name" warning
- SamplerState Property Missing Anisotropic Filtering
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.