Playmaker Forum

Bug Reporting => PlayMaker Bug Reporting => Topic started by: pilot86131 on August 08, 2016, 12:59:54 PM

Title: Reset of Global Variables
Post by: pilot86131 on August 08, 2016, 12:59:54 PM
Hello. I updated to 1.8.2 and I have problem with global variables. Variables reset value to null at load scene if in this scene have prefab with FSM, which use this variable. It is working only for prefabs.
Title: Re: Reset of Global Variables
Post by: pilot86131 on August 09, 2016, 05:24:53 AM
I did more tests. This occurs when there is action in the Prefab that contains a variable public FsmOwnerDefault. And if the value of this variable is a global variable, it is reset when loading scenes. It works on an empty project! I can send it. For me, this is a critical bug.
Unity 4.7.0.

Sorry for my bad English
Title: Re: Reset of Global Variables
Post by: djaydino on August 09, 2016, 08:13:40 AM
Hi,
The reason might be that your unity version is below version 5.
PM 1.8+ is designed for unity 5+

When you update your project, make sure you have a backup copy.
Title: Re: Reset of Global Variables
Post by: clandestine on August 09, 2016, 08:40:25 AM
182 is not compatible with Unity4 anymore?
Title: Re: Reset of Global Variables
Post by: jeanfabre on August 10, 2016, 04:14:47 AM
Hi,

 1.8.2 is compatible with Unity 4.6+, so this should not be a problem.

Currently investigating and trying to repro this issue.

 Bye,

 Jean
Title: Re: Reset of Global Variables
Post by: clandestine on August 11, 2016, 02:56:53 AM
1.8.2 is compatible with Unity 4.6+, so this should not be a problem.

Thanks Jean, i got spooked for a moment there :D
Title: Re: Reset of Global Variables
Post by: Gua on August 11, 2016, 08:20:52 PM
@jeanfabre, I experience same issue after 1.8.2 upgrade. Globals reset on load scene. Unity 5.2.4

Title: Re: Reset of Global Variables
Post by: jeanfabre on August 16, 2016, 02:23:16 PM
Hi,

 yes, we are looking into this. Thanks for the taking the time to make a screencase :)

 Bye,

 Jean