Reply To: Tick() broken for non-repeat graph without actions running over time

NodeCanvas Forums Support Tick() broken for non-repeat graph without actions running over time Reply To: Tick() broken for non-repeat graph without actions running over time

#13696
Gavalakis
Keymaster

Hello,

Thanks for finding and letting me know of this bug.
A quick fix/solution to that (in the latest version), would be to make a call to “StartGraph” with the parameter “autoUpdate” being false in your Initialize method. In that same ‘StartGraph’ overload that takes the “autoUpdate” parameter, you can also provide a callback for when the behaviour is finished. You can if you want use that callback to also stop the graph when that is done.
Here is an example code:

Please let me know if that works for you.
Thank you!

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