playMaker

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

SubZero

  • Playmaker Newbie
  • *
  • Posts: 11
    • View Profile
[FIXED] Global Variables destroyed in game mode???
« on: April 26, 2012, 11:49:16 PM »
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, 03:28:39 PM by Alex Chouls »

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 3631
  • Official Playmaker Support
    • View Profile
    • LinkedIn
Re: Global Variables destroyed in game mode???
« Reply #1 on: May 02, 2012, 05: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: 3631
  • Official Playmaker Support
    • View Profile
    • LinkedIn
Re: Global Variables destroyed in game mode???
« Reply #2 on: May 09, 2012, 09:37:43 AM »
Are you still seeing this in 1.3.3?

SubZero

  • Playmaker Newbie
  • *
  • Posts: 11
    • View Profile
Re: Global Variables destroyed in game mode???
« Reply #3 on: June 28, 2012, 02: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