Search Issue Tracker




Found in



Issue ID




Crash on AudioUtil_CUSTOM_HasAudioCallback when entering PlayMode while the GameObject's Properties Inspector window is in Debug mode



Reproduction steps:
1. Open the “user’s attached project”
2. Open the “Combat Test” scene
3. Right-click on the “Enemy” GameObject in the Hierarchy and select “Properties…”
4. In the Properties Window click the More Items (⋮) button to open the context menu, and select Debug
5. Enter Play Mode
6. Observe the crash

Reproducible with: 2023.2.3f1, 2023.3.0a17
Couldn’t test with: 2021.3.33f1, 2022.3.15f1 (due to compiler errors related to the AI Navigation package)

Reproducible on: macOS Sonoma 14.0 (Intel), Windows 11 (by the reporter)
Not reproducible on: no other environment tested

First few lines of Stack Trace:

{noformat}0x00007FFAFE5807D1 (Unity) AudioUtil_CUSTOM_HasAudioCallback
0x0000022BE8DD870A (Mono JIT Code) (wrapper managed-to-native) UnityEditor.AudioUtil:HasAudioCallback_Injected (intptr)
0x0000022BE8DD8663 (Mono JIT Code) UnityEditor.AudioUtil:HasAudioCallback (UnityEngine.MonoBehaviour)
0x0000022BE8D66B7B (Mono JIT Code) UnityEditor.GenericInspector:CreateInspectorGUI ()
0x0000022BE8D6289A (Mono JIT Code) UnityEditor.UIElements.InspectorElement:CreateInspectorElementUsingUIToolkit (UnityEditor.Editor){noformat}

- The crash does not occur when switching to Normal mode In the Properties Window
- The crash does not occur when switching to Debug mode in the Inspector Window

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.