Skip to content

Opening State Machine Editor Window crashes Unity in 2021.2.9 and newer #514

@mikeymusch

Description

@mikeymusch

Opening the State Machine Editor window will throw a NullReferenceException error, then when you close the editor window Unity crashes.

Here is the error:

NullReferenceException: Object reference not set to an instance of an object
UOP1.StateMachine.Editor.TransitionTableEditorWindow.CreateListView () (at Assets/_Project/Scripts/Editor/TransitionTableEditorWindow.cs:86)
UOP1.StateMachine.Editor.TransitionTableEditorWindow.Update () (at Assets/_Project/Scripts/Editor/TransitionTableEditorWindow.cs:77)
UnityEditor.HostView.SendUpdate () (at :0)
UnityEditor.EditorApplication.Internal_CallUpdateFunctions () (at :0)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions