Running SubFSM, but BT disabled

Forums 💬 NodeCanvas ⚙️ Support Running SubFSM, but BT disabled

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #18440
    nester_twister
    Participant

      SubFSM not stop and will not be deleted from the memory even when the tree stops or disabled. This is repeated when a lot of bots , which all use the same trees

      #18443
      Gavalakis
      Keymaster

        Hey,

        I can’t reproduce the problem you are facing where the SubFSM in a Behaviour Tree is still running after the BT gets disabled. Can you please share a bit more information on your setup?

        Furthermore, please make sure that you are viewing the correct BehaviourTreeOwner. Sometimes it can become confusing if “Lock” is enabled in the NodeCanvas editor.

        Please let me know.
        Thanks.

        #18442
        nester_twister
        Participant

          in the attached file it is shown that the tree continues to work, but the component is stopped and disabled.I use one tree on a prefab and I clone this prefab many times dynamically. I stop a tree not from the editor and from a script. What there can be a problem?

          #18441
          Gavalakis
          Keymaster

            Hello,

            Hmm. Do you by any chance call StopBehaviour from within the Update loop of the the Behaviour Tree you are stopping itself?

          Viewing 4 posts - 1 through 4 (of 4 total)
          • You must be logged in to reply to this topic.