Reply To: How to restart a behavior tree ?!

Forums 💬 NodeCanvas ⚙️ Support How to restart a behavior tree ?! Reply To: How to restart a behavior tree ?!

#17883
Gavalakis
Keymaster

    Hello,

    StartBehaviour can’t be called on SubTrees, no, but SubTrees should reset when the SubTree NODE (that has the reference to the actual SubTree asset) is reset, which is usually done just after an evaluation cycle/tick of the parent tree.
    Are you by any chance, swap the target SubTree by using a blackboard variable or manually, and doing so *while* the subtree is already running?

    Thanks.