Running SubFSM, but BT disabled

NodeCanvas Forums Support Running SubFSM, but BT disabled

Tagged: 

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #11236
    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

    #11239
    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.

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

    #11305
    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?

    Attachments:
    You must be logged in to view attached files.
    #11311
    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?

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

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