Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: HeathClose on March 04, 2017, 01:22:58 PM
-
here you can see I have an int add... it is the only instance of int add in the game as I have just started prototyping...
(https://www.dropbox.com/s/wavzlcwlylxpl07/Screenshot%202017-03-04%2011.50.55.png?dl=1)
but it's adding 2 every time... check out this video of it in action...
-
Hi,
I don't know the solution to your problem but it would most likely be helpful to see all the other states in the video.
Also, I didnt realize breakpoints existed until your video, so thanks for that!
-
Hi,
yep, and put a breakpoint on that state, and run the scene, you'll see then what's going on and you can step back on the second break to see where it comes from. Open the Fsm log to see the full stack.
Bye,
Jean
-
Was this issue ever resolved? I've started seeing the same behaviour in one of my FSMs (which was previously working fine!).
-
Can only really guess at the problem with what I can see in that video. To me it seems like that loop is maybe firing twice per spin? You wouldn't be able to spot it with the break since well....it stops it from firing twice but I'd definitly look into that first state and see if that is triggering twice.