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
- Search field in UI Builder's Library has no character limit
- Changing the value in UI Builder by dragging increases it by a few thousand points when reaching the borders of the screen
- ARM64 architecture DLL incorrectly copied instead of x64 when building for Windows x64
- Crash on TypeTreeIterator::GetNode when opening a specific folder
- Crash on WriteSerializedAssetsV2 when (re)entering the Play Mode in a specific project when IEnumerator Start() is used
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.