Playmaker, FSM state entered twice?

Hi there, I’m troubled with this strange problem. Please help me!

My playmaker version is 1.4.5, and unity version is 4.0.0f7.

I simplified all extra things, just made two tiny clean FSMs which you can also make in seconds in an empty scene to see this problem.

step1. Create gameobject ‘A’ and ‘B’ add a fsm to both of them.

step2. for ‘A’: add a start state which does nothing, with a “FINISH” event point to “fireB” state. “fireB” state add a “Send Event By Name” action, and send fire event to B’s FSM.

step3. for ‘B’: add a listener state to B, with a “fire” event point to “fired” state. “fired” state does nothing.

6703-firedtwice_b.jpg

step4. run the game, you’ll see B’s “fired” state has fired twice.
alt text

Hi DarkMagicCK,

I followed your steps. In my case “fired” state fires only once. But I’m using Unity 3.5.6. Maybe it’s a bug related to Playmaker/Unity v4 that you should report to Huttonggames.

[6705-fired+state+fires+once.jpg|6705]