playMaker

Author Topic: [SOLVED] Unity 5.5.1 Global Variable Issue  (Read 2460 times)

mpaul0055

  • Playmaker Newbie
  • *
  • Posts: 31
[SOLVED] Unity 5.5.1 Global Variable Issue
« on: February 23, 2017, 06:01:31 PM »
Hey All

We have recently updated our project to Unity 5.5 and have noticed a a bug which is causing major issues when we build/compile our project.

Inside the editor all global variables work as expected. But once we build the project they simply do not work as expected.

Unfortunately I have tried to roll back our project to 5.4 but our scene file has corrupted in the backup so we are stuck!

Has anyone had similar issues?

Any help would be massively appreciated.

Thanks
« Last Edit: February 24, 2017, 05:38:30 AM by mpaul0055 »

mpaul0055

  • Playmaker Newbie
  • *
  • Posts: 31
Re: Unity 5.5.1 Global Variable Issue
« Reply #1 on: February 23, 2017, 07:17:36 PM »
I noticed another post where someone had a similar issue with the Xbox one and Unity 5.5. Their fix was to place the PlaymakeGlobals.asset file in the preloaded assets section in the player settings. Unfortunately this did not resolve the issue for myself.

Any Ideas?

----------
Update. I have tested an older scene with Unity 5.4 and PlayMaker works as expected.
« Last Edit: February 23, 2017, 07:57:18 PM by mpaul0055 »

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Unity 5.5.1 Global Variable Issue
« Reply #2 on: February 24, 2017, 02:14:57 AM »
Hi,

 I can't reproduce yet, what platform are you trying to build on? I don't have access to xbox, so if it turns out it's only xbox, then we'll need to make a bug report so that Alex can have a closer look as I would not be able to repro.

 Bye,

 Jean

mpaul0055

  • Playmaker Newbie
  • *
  • Posts: 31
Re: Unity 5.5.1 Global Variable Issue
« Reply #3 on: February 24, 2017, 03:23:20 AM »
It's a PC build that's causing the issue.

I'll roll back to Unity 5.5.0 and see if that helps. It's good to know it does work in 5.5 so it's clearly a bug or issue with my project.

Have you tried Unity 5.5.1f1?

Thanks

Mark

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Unity 5.5.1 Global Variable Issue
« Reply #4 on: February 24, 2017, 03:28:49 AM »
Hi,

 I am on 5.5.1f1

 what pc platform are you targeting?

Bye,

 Jean

mpaul0055

  • Playmaker Newbie
  • *
  • Posts: 31
Re: Unity 5.5.1 Global Variable Issue
« Reply #5 on: February 24, 2017, 03:36:34 AM »
I have tried 32 and 64 Bit builds for the PC, both have the same issue.


mpaul0055

  • Playmaker Newbie
  • *
  • Posts: 31
Re: Unity 5.5.1 Global Variable Issue
« Reply #6 on: February 24, 2017, 05:38:15 AM »
OK Issue Fixed! Phew!

Playmaker had stored the Playmakerglobal.asset in the Editor/Resources folder, and not in the main Resources folder!

I manually moved the asset file and it all works as expected!

Thanks for your help Jean. Amazing support as always!

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: [SOLVED] Unity 5.5.1 Global Variable Issue
« Reply #7 on: February 24, 2017, 10:52:47 AM »
Hi,

 very odd, how did it end up inside an Editor folder?

Bye,

 Jean