playMaker

Author Topic: FSM Not Firing  (Read 2324 times)

silonighora

  • Playmaker Newbie
  • *
  • Posts: 28
FSM Not Firing
« on: February 10, 2016, 12:56:46 AM »
Hi All,
I am facing one strange issue. I have a player game object with about 15 FSMs. One of the FSMs is a very small one. It defects one trigger and update on count. However, I am seeing that this FSM does not fire when I start the game and playmaker editor window is closed. After some trial and error I noticed that it fires when I keep my playmaker editor window open. Now when I start the game, this FSM fired. Now if I close the window, then also it works.
Not sure why do I have to keep the playmaker editor open the first time.
Has anyone come across this issue earlier?

I am attaching a screenshot of the FSM.

Regards,
Siloni

replikant

  • Playmaker Newbie
  • *
  • Posts: 42
Re: FSM Not Firing
« Reply #1 on: February 10, 2016, 03:23:27 AM »
You need a next frame event

silonighora

  • Playmaker Newbie
  • *
  • Posts: 28
Re: FSM Not Firing
« Reply #2 on: February 10, 2016, 10:59:31 AM »
Where do I need that?
I believe once the FSM starts, it should state in state 1 until the object hits a trigger. But my problem is the FSM is not firing at all unless I open the Playmaker editor window once before I start the game.

silonighora

  • Playmaker Newbie
  • *
  • Posts: 28
Re: FSM Not Firing
« Reply #3 on: February 10, 2016, 11:32:45 AM »
I just printed the count on the canvas, and I am getting the count everytime. But the log message is not printing unless I open the editor atleast once. So, there is no issue. But just wanted to know whether we need to keep the editor open to print log messages?

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 4249
  • Official Playmaker Support
    • LinkedIn
Re: FSM Not Firing
« Reply #4 on: February 10, 2016, 11:16:06 PM »
Quote
But just wanted to know whether we need to keep the editor open to print log messages?

You shouldn't need to, but maybe there's a bug. I'll look into it...