Playmaker Forum

Playmaker Help & Tips => Playmaker Help => Topic started by: DARK_ETERNAL on November 15, 2012, 07:29:48 AM

Title: Importing globals in Unity 4
Post by: DARK_ETERNAL on November 15, 2012, 07:29:48 AM
Greetings.

Anyone else having problems importing globals in Unity 4? I import those, good, and then... They just disappear after I restart Unity or play my game... Don't know why.

[Nov 15 - Update]
I'm using a free licensed Unity 4, if that matters. It seems that global vars created from zero work fine. This issue is just with imported ones.

Another thing I just noticed is that my current Playmaker version is 1.4.2. I'll try updating it, but, if someone, with later versions, gets this issue, please tell me.

Yet another pointer: The globals I'm trying to import are from a project developed in Unity 3.5.6. So, I'm importing globals made in Unity 3.5.6 to a new project in Unity 4.

[Nov 16 - Update]
I've tried the same thing with 2 projects using Unity 4. Gonna report as bug.

Thanks in advance.
Title: Re: Importing globals in Unity 4
Post by: Alex Chouls on December 23, 2012, 04:06:49 PM
Try modifying a global variable to force Unity to save the asset. Right now the Globals are created, but not saved to an asset immediately.

This should be fixed in the next update...