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

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

#14913
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 🙂

Join us on Discord: https://discord.gg/97q2Rjh