Search Issue Tracker
Fixed in 2022.2.X
Fixed in 2021.2.X, 2022.1.X
Crash on AudioMixer::EnsureValidRuntime when entering Play mode
1. Open the user's attached "mixer-test.zip" project
2. Enter the Play mode
Expected result: Unity does not crash
Actual result: Unity crashes
Reproducible with: 2021.2.1f1, 2021.2.8f1, 2022.1.0b4, 2022.2.0a2
Not reproducible with: 2019.4.34f1, 2020.3.26f1
Could not test with: 2021.2.0f1 ("Assertion failed on expression: 'exposedParameterCacheSize == constantExposedParameterCount'" error while trying to load the Prefab with Audio Mixers)
- The crash does not reproduce if the project needs to regenerate Library (either by deleting the Library folder before opening the project or calling Reimport All).
- If the crash does not reproduce close and open the user's project again.
First lines of the stack trace:
0x00007ff7c03a084f (Unity) AudioMixer::EnsureValidRuntime
0x00007ff7c03af895 (Unity) AudioMixer::SetupGroups
0x00007ff7c03b1979 (Unity) AudioMixer::UpdateMuteSolo
0x00007ff7c03a0857 (Unity) AudioMixer::EnsureValidRuntime
0x00007ff7c03a174e (Unity) AudioMixer::ForceUpdateInEditor
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.