playMaker

Author Topic: [Xbox One] Playmaker Global Variables dont work.  (Read 2369 times)

Skermunkel

  • Playmaker Newbie
  • *
  • Posts: 36
[Xbox One] Playmaker Global Variables dont work.
« on: January 17, 2017, 09:01:14 AM »
Hi,

I upgraded to the latest supported Xbox One XDK (August 2016 QFE2) as well as the corresponding supported Unity version (5.5.0p1) but for some reason now none of my Playmaker Global Variables want to work, where it wasnt a problem at all with the previous XDK/Unity version.

Please any help or advice on the matter would be immensely appreciated, I will be posting a thread on the Unity Xbox One forums as well.

G-Kaiser

  • Playmaker Newbie
  • *
  • Posts: 34
Re: [Xbox One] Playmaker Global Variables dont work.
« Reply #1 on: January 17, 2017, 09:24:08 AM »
This is just a suggestion, make sure your global variables are in the Resources folder within Playmaker. The folder is Playmaker/Resources. The globals are called PlaymakerGlobals.asset. I had a similar problem upon updating to Unity 5.5. My global variables worked even though they were in wrong folder in older versions of Unity. In Unity 5.5 they must be in the Resources folder.

Skermunkel

  • Playmaker Newbie
  • *
  • Posts: 36
Re: [Xbox One] Playmaker Global Variables dont work.
« Reply #2 on: January 17, 2017, 10:34:31 AM »
My Playmaker Globals asset file are placed in the Resources folder inside Plugins/Playmaker/Resources folder but Im not sure if it maybe needs to be placed inside a Resources outside of Plugins.

G-Kaiser

  • Playmaker Newbie
  • *
  • Posts: 34
Re: [Xbox One] Playmaker Global Variables dont work.
« Reply #3 on: January 17, 2017, 10:56:11 AM »
The PlaymakerGlobals.asset should be in the Resources Folder in the Playmaker directory. Look in the main Playmaker directory. Assets/Playmaker/Resources

Skermunkel

  • Playmaker Newbie
  • *
  • Posts: 36
Re: [Xbox One] Playmaker Global Variables dont work.
« Reply #4 on: January 17, 2017, 11:20:10 AM »
Just managed to fix, i needed to place the PlaymakerGlobals.asset inside preloaded assets inside Player settings.