Behavior tree keeps running even if it is disconnected

I know it sounds silly, but my AI is behaving as the BT is connected even if I disconnected all the nodes… Seems like that, unless you modify the tree, the behavior is loaded in memory and even if you disconnect everything it persists sending the same input to the controller.
Any idea why this is?

You can do two things

  1. Unpossess the AI controller on death/deactivation
  2. Create a bool called ‘isDead’ in your BP and set it in your BT. Your BT decorator should read If isDead is NOT set. So, when the AI dies, it will be set to true and BT will break out of the loop.