Not signed in
Copyright © 2026 Unity Technologies
The console throws an error when creating or selecting a game object with an audio source after domain reload or entering play mode.
Regression details
Regressed in [Internal link], which fixes a similar issue where selecting a game object with an audio source threw an error, but without the step of triggering a domain reload or entering play mode.
Repro
Expected: No error is thrown in the console
Actual: An ArgumentNullReference error is thrown in the console
Note
Selecting and deselecting the game object will also produce the error after going through the repro steps. It will also occur after a domain reload, for example if creating, deleting, or editing a c# script in the project. Furthermore, opening the ARC window again will stop further attempts at triggering the error until you trigger a domain reload again.
Stack trace
ArgumentNullException: Value cannot be null. Parameter name: element UnityEditor.UIElements.Bindings.DefaultSerializedObjectBindingImplementation.UnbindTree (UnityEngine.UIElements.VisualElement element) (at /Users/kristinnbragi/gitrepo/23.2/Modules/UIElementsEditor/Bindings/BindingExtensions.cs:871) UnityEditor.UIElements.Bindings.DefaultSerializedObjectBindingImplementation.Unbind (UnityEngine.UIElements.VisualElement element) (at /Users/kristinnbragi/gitrepo/23.2/Modules/UIElementsEditor/Bindings/BindingExtensions.cs:864) UnityEditor.UIElements.BindingExtensions.Unbind (UnityEngine.UIElements.VisualElement element) (at /Users/kristinnbragi/gitrepo/23.2/Editor/Mono/UIElements/Bindings/BindingsInterface.cs:67) UnityEditor.AudioContainerWindowState.UpdateTarget () (at /Users/kristinnbragi/gitrepo/23.2/Editor/Mono/Audio/AudioContainerWindowState.cs:155) UnityEditor.AudioContainerWindowState.OnSelectionChanged () (at /Users/kristinnbragi/gitrepo/23.2/Editor/Mono/Audio/AudioContainerWindowState.cs:298) UnityEditor.Selection.Internal_CallSelectionChanged () (at /Users/kristinnbragi/gitrepo/23.2/Editor/Mono/Selection.cs:38)
Sign in to see your voted issues