Search Issue Tracker
Third Party Issue
Third Party Issue in 6000.2.X
Votes
0
Found in
2021.3.44f1
2022.3.49f1
6000.0.22f1
6000.1.0a7
6000.2.0a1
Issue ID
UUM-83340
Regression
No
Crash on MixerEffectDefinitions_CUSTOM_GetAudioEffectParameterDesc when opening a certain project
How to reproduce:
1. Open the attached “IN-85212“ project
2. Observe the crash
3. (If no crash occurs) Enter Play Mode
4. Close the Unity Editor
5. Repeat from step 1
Reproducible with: 2021.3.44f1, 2022.3.49f1, 6000.0.22f1
Reproduced on: Windows 11
Not reproduced on: No other environment tested
Notes:
- Can take up to 10 times to reproduce the crash
- Also reproduces in an empty scene
First few lines of the stack trace:
{noformat}0x00007ff7cbc1b373 (Unity) MixerEffectDefinitions_CUSTOM_GetAudioEffectParameterDesc
0x0000013363a83a01 (Mono JIT Code) (wrapper managed-to-native) UnityEditor.Audio.MixerEffectDefinitions:GetAudioEffectParameterDesc (string)
0x0000013363a81d1b (Mono JIT Code) UnityEditor.Audio.MixerEffectDefinitions:Refresh ()
0x0000013363a8077b (Mono JIT Code) UnityEditor.Audio.MixerEffectDefinitionReloader:.cctor ()
0x000001336520d435 (Mono JIT Code) (wrapper runtime-invoke) object:runtime_invoke_void (object,intptr,intptr,intptr){noformat}
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
- A frame spike occurs when Physics Simulation Mode is switched from Script to FixedUpdate
- "WebAssembly Language Features" Header in the Player Settings has a smaller indentation
- No audio is played when Playbable Mixer is changed at runtime
- Editor hangs when painting Details containing 2D Mesh on Terrain
- No audio is played when TimelinePlayable has one output
Resolution Note:
The reason for the crash is that JUCE used to return an AudioEffectDefinition that was allocated on the stack, so when Unity tries to access it causes undefined behaviour.
Anaglyph framework is using an older JUCE framework which is causing this crash in Unity 6, updating to JUCE framework 8.0.6 or later in Anaglyph plugin will fix this issue.
JUCE commit: https://github.com/juce-framework/JUCE/commit/c51bfd7429775c5ff8d09a0cb58ed4b71f6eba93
Resolution Note (6000.2.X):
The reason for the crash is that JUCE used to return an AudioEffectDefinition that was allocated on the stack, so when Unity tries to access it causes undefined behaviour.
Anaglyph framework is using an older JUCE framework which is causing this crash in Unity 6, updating to JUCE framework 8.0.6 or later in Anaglyph plugin will fix this issue.
JUCE commit: https://github.com/juce-framework/JUCE/commit/c51bfd7429775c5ff8d09a0cb58ed4b71f6eba93