Nested FSM in nested BT never stops

Forums 💬 NodeCanvas ⚙️ Support Nested FSM in nested BT never stops

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #18898
    radek
    Participant

      I have a FSM with a nested BT. In the nested BT, there is a nested FSM.

      It is my understanding that OnExit of the nested BT node should cause the whole BT to stop, including all its nested FSMs/BTs. But that’s not the case – the nested BT with its nested FSM continues to run meaning that my graph is then in two states at once (i.e. in the state to which the graph transitioned from the nested BT node and at the same time still in the nested BT). Seems like a bug to me. (I don’t have this issue when I only use nested FSMs without BTs.)

      #18900
      Gavalakis
      Keymaster

        Hello,

        Sorry for late reply.
        It’s a bug that has beed fixed.

        Please replace the contents of MonoManager.cs with the following code and let me know if it’s solved for you.

        Thanks!

        #18899
        radek
        Participant

          Yes, this seems to work for my use case.

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