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.
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: