playMaker

Author Topic: Importing globals in Unity 4  (Read 1593 times)

DARK_ETERNAL

  • Full Member
  • ***
  • Posts: 111
    • View Profile
Importing globals in Unity 4
« 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.
« Last Edit: November 16, 2012, 03:24:30 PM by DARK_ETERNAL »
Check out our new game: Nitro Chimp. Now live in App Store!

Trailer:
Download: https://itunes.apple.com/app/nitro-chimp/id557150450?l=en&mt=8

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 3617
  • Official Playmaker Support
    • View Profile
    • LinkedIn
Re: Importing globals in Unity 4
« Reply #1 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...