Reply To: FSM not working after recent update

NodeCanvas Forums Support FSM not working after recent update Reply To: FSM not working after recent update

#10010
Gavalakis
Keymaster

Hello,

Ah, now I understand. The problem you are having is with the Execute Function task executing a coroutine.
This is a bug indeed that only recently found out. Here is the fix for Execute Function:

Open ExecuteFunction.cs and at line #92 you should see that the EndAction() is called.
Simply move the EndAction call within the bracket just above(within the ‘else’).
From this:

To this:

Thanks. Let me know.

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