playMaker

Author Topic: Added values are doubled in the build version ! [SOLVED]  (Read 806 times)

secondsight

  • Playmaker Newbie
  • *
  • Posts: 24
Added values are doubled in the build version ! [SOLVED]
« on: June 25, 2020, 10:20:38 AM »
So, I have a very simple function where I add INT values.
All works fine in the editor but the value doubles in a build !

Here you can see the very first click, that is supposed to add 1 red action point. On the right is the game, where 2 are added.



Using Unity 2019.3 and latest Playmaker.

Any idea where to start ?!
Thanks !
« Last Edit: June 26, 2020, 04:29:53 AM by djaydino »

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7616
    • jinxtergames
Re: Added values are doubled in the build version !
« Reply #1 on: June 25, 2020, 01:46:21 PM »
Hi.
When playing in editor you are playing with 'Lag' and gameplay can be different when you play in a build.

In many cases adding a next frame event can solve these kind of issues.

Maybe you can show some fsms as its hard to guess what it could be.

secondsight

  • Playmaker Newbie
  • *
  • Posts: 24
Re: Added values are doubled in the build version !
« Reply #2 on: June 26, 2020, 01:39:41 AM »
So, after a long night of searching and trying to implement your tips, I found out that the values are actually correct. It turns out that the issue is caused by the energy bar UI. This one still shows the right value but the wrong amount of icons. So playmaker is fine :P

Thank you anyway for the fast response !