Search Issue Tracker
Fixed
Fixed in 2022.3.10f1, 2023.1.12f1, 2023.2.0b8, 2023.3.0a3, 7000.0.0a1
Votes
0
Found in
2022.2.20f1
Issue ID
UUM-35984
Regression
Yes
Crash on AudioMixerController::SetFloat when entering the Play Mode
Reproduction steps:
1. Open the attached project “CrashRepro”
2. Open the “SpiritWorldMap” Scene
3. Enter the Play Mode
Expected result: The Editor enters the Play Mode
Actual result: Editor crashes
Reproducible with: 2022.2.19f1, 2022.2.20f1
Not reproducible with: 2022.2.18f1, 2023.1.0b7, 2023.1.0b17
Could not test with: 2020.3.48f1, 2021.3.25f1, 2022.2.a10, 2023.1.0a1 - 2023.1.0b6, 2023.2.0a15 (Packages errors)
Reproducible on: macOS Ventura 13.3.1 (a) (M1 Max), macOS Ventura 13.3.1 (a) (Intel), Windows 10
First few lines of the stack trace:
{{#0 0x00000101efa3dc in AudioMixerController::SetFloat(char const*, float)}}
{{#1 0x00000100763130 in AudioMixer_CUSTOM_SetFloat(ScriptingBackendNativeObjectPtrOpaque*, ScriptingBackendNativeStringPtrOpaque*, float)}}
{{#2 0x0000033aeee2dc in (wrapper managed-to-native) UnityEngine.Audio.AudioMixer:SetFloat (UnityEngine.Audio.AudioMixer,string,single) [
{0x14a56bf40}
+ 0xe4] (0x33aeee1f8 0x33aeee398) [0x14ff42a80 - Unity Child Domain]}}
{{#3 0x0000033aeedfe8 in AudioManager:SetGroupVolume (string,single) [
{0x14b7262b8}
+ 0xc0] [/Users/horatiuroman/Unity/spirit_world_unity_new/Assets/Scripts/Audio/AudioManager.cs :: 146u] (0x33aeedf28 0x33aeee07c) [0x14ff42a80 - Unity Child Domain]}}
{{#4 0x0000033aeeddfc in AudioManager:OnValidate () [
{0x14b726218}
+ 0xb4] [/Users/horatiuroman/Unity/spirit_world_unity_new/Assets/Scripts/Audio/AudioManager.cs :: 120u] (0x33aeedd48 0x33aeedea4) [0x14ff42a80 - Unity Child Domain]}}
{{#5 0x0000032396ac74 in (wrapper runtime-invoke) object:runtime_invoke_void_{_}this{_}_ (object,intptr,intptr,intptr) [
{0x14b60ac90}
+ 0x124] (0x32396ab50 0x32396ae00) [0x14ff42a80 - Unity Child Domain]}}
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
- Animator Controller throws MissingReferenceException after undoing Layer Creation
- Full stack trace is always printed when an exception occurs in an IL2CPP build
- Licensing Client fails to launch when opening Unity Hub (licensing client path is not found)
- Licensing Client fails to launch when opening Unity Hub
- Different custom Shader behavior when GPU Resident Drawer is enabled
Resolution Note (fix version 2023.2.0b8):
Added lazy initialisation of a data structure that previously might be uninitialised in very rare cases when calling AudioMixer.SetFloat.
Resolution Note (fix version 2023.1.12f1):
Added lazy initialisation of a data structure that previously might be uninitialised in very rare cases when calling AudioMixer.SetFloat.
Resolution Note (fix version 2022.3.10f1):
Added lazy initialisation of data structure that previously might be uninitialised in very rare cases when calling AudioMixer.SetFloat.