StepIterator Reset after Graph.Stop.

NodeCanvas Forums General Discussion StepIterator Reset after Graph.Stop.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #11555
    pjohalloran
    Participant

    Hi,
    I encoutered what I think may be a bug when Stopping a behaviour tree. When I stopped it, it was in a long running sequence of actions under a StepIterator node.

    When I started it again later, it resumed at the same node i stopped it at, when i expected the tree to resume from the beginning.

    Putting this code into StepIterator, fixed the issue.

    Is this a good fix do you think? Or is there another way to get the behaviour i expect?

    If this is a bug, maybe other sequencer nodes, with similar state might need resetting also ?

    Thanks!

    #11559
    Gavalakis
    Keymaster

    Hey,

    I’m very sorry for the late reply, but I was ill and in bed for the last couple of days.

    Thanks a lot for the report and fix. Yes that is a fine fix and I will add it in the next update as well.
    I will also double check the rest of the nodes for such resetting.

    Thanks again!

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

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