Doing these things in the “OnExecute” is definetely correct, yes. The fact that the visual debuging is not possible to “catch up” with the tree execution since everything is happening within the same frame in this cae, I don’t think would be an important factor, considering that you DO want planning to indeed take place in one frame 🙂
Thus, for debugging such trees, you can use breakpoints, in which case I am refering to the breakpoints that can be added on a nodes via the right click menu. This will cease the execution at that specific node and also pause the editor and as such you will be able to “step through” the frames while also able to watch the visual debugging of the graph.
Regarding recovery from exception, can you please clarify what kind of exception more specifically?
If you rather refer to an error that is thrown due to ‘Task Initialization’, then in this case, the task in question is disabled by design. Do you indeed refer to this, or an exception thrown for example within the OnExecute of your custom task code?
Let me know.
Thanks!
Join us on Discord: https://discord.gg/97q2Rjh
Login
Register
By registering on this website you agree to our Privacy Policy.