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
- Shader Graph Asset icon is not shown on creation unless you confirm the name
- APV Sky occlusion doesn't consider the terrain
- [iOS] "EXC_BAD_ACCESS" Player crash when Script Debugging is enabled
- Cursor skips input fields when tabbing between two sets of input fields
- "Shader error redefinition of 'Varyings'" error appears when selecting the shader
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.