SuperActionState OnExit fired more then once in nestedFSM

NodeCanvas Forums Support SuperActionState OnExit fired more then once in nestedFSM

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #14239
    meatloaf
    Participant

    I have a nestedFSM containing a SuperActionState. It seams that the OnExit actions of the SuperActionState are fired multiple times in the nestedFSM. Attached are some images that I have captured when trying to figure out the issue.

    I think what’s going on is that, the OnExit for the SuperActionState node is fired and then when the graph exits it executes a OnGraphExit which also calls OnExit on the SuperActionState again.

    I would love to get this problem sorted out asap.

    Thanks for any help in advance!

    Attachments:
    You must be logged in to view attached files.
    #14256
    Gavalakis
    Keymaster

    Hey!

    Sorry for the late reply due to Eastern and thanks for finding this bug out along with providing the info. I can confirm that this is certainly a bug 🙂
    To fix this quickly (even though I need to run a few more tets), please open up FSM.cs and change the OnGraphStoped method to simply be like this:

     

    This will fix the double call.

    Thanks again!

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

    #14258
    meatloaf
    Participant

    Awesome that looked like it fixed the issue.

    Will this bug be fixed more officially in the next release?

    Thank in advance!

    #14259
    Gavalakis
    Keymaster

    Hey,

    Yes, a fix will definetely exist in the next version. 🙂
    Thanks!

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

    #14261
    meatloaf
    Participant

    Awesome thanks so much!

    #14267
    Gavalakis
    Keymaster

    Thanks as well for the findings! 🙂

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

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