playMaker

Author Topic: Editing PlayMakerGlobals.asset in Spreadsheet [SOLVED]  (Read 6199 times)

gregacuna

  • Full Member
  • ***
  • Posts: 142
Re: Editing PlayMakerGlobals.asset in Spreadsheet [SOLVED]
« Reply #15 on: September 28, 2017, 01:14:32 AM »
Wow...thanks for that. I've attached the file. Cheers.

Fat Pug Studio

  • Beta Group
  • Hero Member
  • *
  • Posts: 1294
    • Fat Pug Studio
Re: Editing PlayMakerGlobals.asset in Spreadsheet [SOLVED]
« Reply #16 on: September 28, 2017, 03:36:07 AM »
Oh, those are regex control characters, i don't know why is the notepad++ showing them. I tried removing them but to no avail.

Post a question on their forums: https://notepad-plus-plus.org/community/
Available for Playmaker work

gregacuna

  • Full Member
  • ***
  • Posts: 142
Re: Editing PlayMakerGlobals.asset in Spreadsheet [SOLVED]
« Reply #17 on: September 28, 2017, 03:52:24 AM »
Is my file showing them when you open it on your computer? Seems strange they are showing up with mine, but not yours. I'll post to the forums, but wondering what happened when you opened it so I can ask the right question. :)

Fat Pug Studio

  • Beta Group
  • Hero Member
  • *
  • Posts: 1294
    • Fat Pug Studio
Re: Editing PlayMakerGlobals.asset in Spreadsheet [SOLVED]
« Reply #18 on: September 28, 2017, 05:46:47 AM »
When i open your file it's the same as on your screenshot, but when i open mine everything's nice and tidy. Quite curious.
Available for Playmaker work

gregacuna

  • Full Member
  • ***
  • Posts: 142
Re: Editing PlayMakerGlobals.asset in Spreadsheet [SOLVED]
« Reply #19 on: October 02, 2017, 05:56:35 AM »
This has me worried. Why are my globals acting differently than yours? I've been meaning to post to the forums about another issue which may be related and is quite scary.

I've been exporting my globals on the project whenever anything important changes as earlier we had a few problems with them. Recently I went to important the globals into a backup of the project and I get a message:

No Globals to Import!

I'm attaching a screen capture of the popup and Console error.

Need to figure this out because I'm wonder what might happen if we really needed the globals file to import and it isn't working.

Any ideas??? @Jean

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7615
    • jinxtergames
Re: Editing PlayMakerGlobals.asset in Spreadsheet [SOLVED]
« Reply #20 on: October 02, 2017, 09:57:46 AM »
Hi,
if you removed the previous global file you might need to restart unity.
i had something similar before.

gregacuna

  • Full Member
  • ***
  • Posts: 142
Re: Editing PlayMakerGlobals.asset in Spreadsheet [SOLVED]
« Reply #21 on: October 02, 2017, 10:25:01 PM »
Originally this happened in a backup for one of our current games, but this time I tested it by creating a new project with just playmaker and then when I tried to import the globals I received that message.

Am I supposed to delete the globals file before trying to import a new one?

Thanks for all you help. Have a good day!

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7615
    • jinxtergames
Re: Editing PlayMakerGlobals.asset in Spreadsheet [SOLVED]
« Reply #22 on: October 02, 2017, 10:28:06 PM »
Hi,
Did you check if they where added?
Sometimes it gives that message and it still added the globals.

gregacuna

  • Full Member
  • ***
  • Posts: 142
Re: Editing PlayMakerGlobals.asset in Spreadsheet [SOLVED]
« Reply #23 on: October 03, 2017, 12:42:25 AM »
I tried several things. I check if they were added...nothing.

I tried deleting the current globals and then importing it...nothing.

I've been doing this in Unity 5.4.2 which is the version we started and built our Acting Kindly game in. Should I try it on a clean install of Playmaker in 5.6.2 which we're using for the new project?

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7615
    • jinxtergames
Re: Editing PlayMakerGlobals.asset in Spreadsheet [SOLVED]
« Reply #24 on: October 03, 2017, 11:52:54 AM »
Hi,
Maybe you can send the Global so i can test it.

gregacuna

  • Full Member
  • ***
  • Posts: 142
Re: Editing PlayMakerGlobals.asset in Spreadsheet [SOLVED]
« Reply #25 on: October 03, 2017, 11:39:45 PM »
The globals from the new project with just the one variable?

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7615
    • jinxtergames
Re: Editing PlayMakerGlobals.asset in Spreadsheet [SOLVED]
« Reply #26 on: October 04, 2017, 01:37:37 PM »
Hi,
The global that did not work,

I have been testing a bit and found that the best way is to unpack the "PlayMakerGlobals.unitypackage" into your project folder.

Then you should have the file : PlaymakerGlobals_EXPORTED.asset
(in the inspector you can see what globals ar on the "PlaymakerGlobals_EXPORTED.asset" by selecting it.)

Then goto Playmaker/Tools/Import Globals.
Set extension to all files (it is default on .unitypackage)
then look for the "PlaymakerGlobals_EXPORTED.asset" file and export that.