Search Issue Tracker

Fixed in 2022.2.X

Fixed in 2021.2.X, 2022.1.X

Votes

0

Found in

2021.2

2021.2.4f1

2022.1

2022.2

Issue ID

1394571

Regression

No

Crash on AudioMixer::EnsureValidRuntime when entering Play mode

Audio

-

Reproduction steps:
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)

Notes:
- 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

  1. Resolution Note (fix version 2022.1):

    Fixed in: 2022.1.0b14

  2. Resolution Note (fix version 2021.2):

    Fixed in: 2021.2.18f1

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.