- Home /
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.
step4. run the game, you'll see B's "fired" state has fired twice.
Answer by pako · Jan 14, 2013 at 09:12 PM
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.
O$$anonymous$$ I'll go to playmaker's forum and report. Thanks!
The author said it's really an issue. Add a delay will solve this problem. Here's the post: http://hutonggames.com/playmakerforum/index.php?topic=2936.0
Your answer
Follow this Question
Related Questions
Using Playmaker for a game-scope FSM 0 Answers
Resave FSMs on Playmaker? 1 Answer
Player's last location as a Transform 1 Answer
how I can rotate with playmaker 1 Answer
Playmaker and new UI 2 Answers