Playmaker Forum

Bug Reporting => PlayMaker Bug Reporting => Topic started by: kocosephia on March 16, 2017, 02:26:34 PM

Title: Actions being called twice
Post by: kocosephia on March 16, 2017, 02:26:34 PM
Has anyone else had this problem? I'm pretty sure it's a playmaker bug.

1) What happened

Actions on an action sequence set to execute before any other action that uses the update loop will execute twice instead of once.

2) How can we reproduce it

Create new FSM

Create three states:

State 1: Empty, transitions to state 2

State 2: (Action sequence state)
   Action 1: int add action to increment variable X
   Action 2: wait any amount of time
   Action 3: int add action to increment variable Y
   Action 4: wait any amount of time then trasition to state 3
State 3: Empty

The result will be Variable X will have been incremented twice while Variable Y will have correctly only been incremented once.
Title: Re: Actions being called twice
Post by: jeanfabre on March 17, 2017, 02:21:41 AM
Hi,

Good catch, I'll pass this issue on so that it can be addressed.

 Bye,

 Jean