playMaker

Author Topic: [FIXED] Global Variables destroyed in game mode???  (Read 3187 times)

SubZero

  • Playmaker Newbie
  • *
  • Posts: 11
[FIXED] Global Variables destroyed in game mode???
« on: April 27, 2012, 02:49:16 AM »
Each time I create global variables using the playmaker editor it stores them nicely in the dialog so I can use them in my FSM states. However (even if I save the project) when I enter game mode nothing works as expected and when I reopen playmaker all my globals created before are gone.

I tried to build the project in order to save the globals, I tried to save several times but as it looks like nothing can prevent my (new) global variables from being destroyed upon runtime.

Global events are not effected.
« Last Edit: June 28, 2012, 06:28:39 PM by Alex Chouls »

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 3987
  • Official Playmaker Support
    • LinkedIn
Re: Global Variables destroyed in game mode???
« Reply #1 on: May 02, 2012, 08:23:32 PM »
Do you get a dialog to save the PlayMakerGlobals.asset?

If you select the PlayMaker/Resources/PlayMakerGlobals.asset do you see the globals there?

Are you using version control by any chance?

Can you submit a bug with the Bug Report Tool so we get more info on your setup? Thanks!

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 3987
  • Official Playmaker Support
    • LinkedIn
Re: Global Variables destroyed in game mode???
« Reply #2 on: May 09, 2012, 12:37:43 PM »
Are you still seeing this in 1.3.3?

SubZero

  • Playmaker Newbie
  • *
  • Posts: 11
Re: Global Variables destroyed in game mode???
« Reply #3 on: June 28, 2012, 05:46:47 PM »
I am so sorry (I forgot to reply!)! Updated to the latest Playmaker version and the issue is gone! Great work! 8) ;D :D