open-project-1 icon indicating copy to clipboard operation
open-project-1 copied to clipboard

Opening State Machine Editor Window crashes Unity in 2021.2.9 and newer

Open mikeymusch opened this issue 3 years ago • 1 comments

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)

mikeymusch avatar Feb 04 '22 00:02 mikeymusch

@ciro-unity Do you all have any pointers as to how we can patch this? This seems like a really great state machine but It's crashing on 2021.3.2f1 OSX M1 for me.

gmiv avatar Jun 04 '22 21:06 gmiv