Reply To: [PATCH] when agent is null

NodeCanvas Forums Support [PATCH] when agent is null Reply To: [PATCH] when agent is null

#15323
Gavalakis
Keymaster

Hello,

Hmm. Within this same method (Execute), there is this piece of code:

The above code, is basically handling the agent null check but also initializes the agent. The reason this piece of code is not at the very top, is so that the checks and initialization only happen when the action is executed initially (and not every time while it is running).
It seems however that in your case, the agent is destroyed while the action in question is Running or paused?
Are you maybe destroying the agent from within an action task, or is destruction happening from some outside piece of code?

Please let me know.
Thank you.

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