Reply To: [BUG] FSM error when using DestroyGameObject ActionTask.

Forums 💬 NodeCanvas ⚙️ Support [BUG] FSM error when using DestroyGameObject ActionTask. Reply To: [BUG] FSM error when using DestroyGameObject ActionTask.

#16379
Gavalakis
Keymaster

    Hello,

    Yeah, this is an edge case because the FSM is destroyed from within it’s own update. Here is quick fix though. Please open up FSM.cs and completely change the method named ‘OnGraphUpdate’ with the following code:

    Let me know if that quickfix works for you.
    Thanks 🙂