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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
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.