Reply To: EndAction as callback

NodeCanvas Forums Support EndAction as callback Reply To: EndAction as callback

#13027
Gavalakis
Keymaster

Hello,

While EndAction can be called from outside OnExecute and OnUpdate (it is done in a few included tasks), it is generally best if it only gets called from within these two methods, due to potential async operation results, which is what I think happens in your case.

As far as I can tell, your task which disables the entity is executed, while the EndAction from your other custom DOTween relevant task, is executed *after* the entity is disabled, probably due to the tween ending at that time.

While I’ve tried eliminating this async issues, there can still be improvements to make.
Is it possible for you to please send me a small reproduction project showcasing this issue to support_AT_paradoxnotion.com so that I can take a closer look (and possible solution)?

It would be really great and helpful if possible.
Thank you!

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