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
- Placeholder asset is not loaded with Advertisement Legacy sample when using the latest version of the package
- Addressables content build fails but the Player build is successful when building a development build
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
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