Reply To: [Bug] Graphs are not fully reset when Stoping and Starting again

NodeCanvas Forums Support [Bug] Graphs are not fully reset when Stoping and Starting again Reply To: [Bug] Graphs are not fully reset when Stoping and Starting again

#15147
Gavalakis
Keymaster

Hello again,

 

You are right. This is why the included action for stopping the behaviour (the action task called Control Graph Owner), does EndAction(null) andgraph.Stop()` after 1 yield frame. If you want to do the same in your custom action, here is how you could do it:

Doing this will solve the issue where the sequencer (and other nodes in general) are not resetting correctly. Once again, the problem and special case here, is the fact that the graph is stopped from within its own execution. Stoping the graph otherwise (outside of its own execution does not need any of this).

Please let me know if the above works for you.
Thanks!

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