Search Issue Tracker

Fixed in 5.0.X

Votes

0

Found in

5.0.0b3

Issue ID

632364

Regression

No

Adding a Audio Source component and pressing undo causes an Null ref error to be shown

Editor - Other

-

Steps to repro:
- open the audiomixer window and select an audiomixer (create one if needed)
- create an go
- add an audio source component (from the add component menu)
- press ctrl+z
Observe an error:

NullReferenceException: SerializedObject of SerializedProperty has been Disposed.
UnityEditor.AudioSourceInspector.GetCurveWrapperArray () (at C:/buildslave/unity/build/Editor/Mono/Inspector/AudioSourceInspector.cs:169)
UnityEditor.AudioSourceInspector.UndoRedoPerformed () (at C:/buildslave/unity/build/Editor/Mono/Inspector/AudioSourceInspector.cs:292)
UnityEditor.Undo.Internal_CallUndoRedoPerformed () (at C:/buildslave/unity/build/artifacts/EditorGenerated/UndoBindings.cs:157)

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.