Hi,
I've been chasing a bug for a couple of days and I've narrowed it down to a very weird issue.
What's happening:
I have an FSM with a State in which there's only a Wait action set to wait for 0.8 seconds and the "Finish Event" set to FINISHED
If I step through the FSM in the editor the action waits for the set 0.8 seconds and then continues.
BUT! if I don't step through the FSM in the editor the action just doesn't wait, it executes the OnEnter method correctly, it never hits the OnUpdate one and just continues to the next state, so something is triggering the FINISHED event.
I "solved" it by not using the FINISHED event as "Finish Event", I created another one named "Wait Over" and linked it to the action.
This is very weird, I've been staring at the code of the action (the default wait one in ActionCategory.Time) for two days now and cannot figure out why this is happening.
The problem I'm having now is that same setup (i.e. Wait action with Finish Event set to FINISHED) is used in hundreds of other places in the game.
Is this working as intended? am I missing something?
Thanks!