Page 2 of 3
Re: Some questions.
Posted: Sat Dec 14, 2019 8:33 pm
by Al.Bundy
Jesus this is perfect
Thank you so much !
Re: Some questions.
Posted: Sat Dec 14, 2019 8:55 pm
by Tony Li
Happy to help!

Re: Some questions.
Posted: Tue Feb 25, 2020 9:07 am
by chrislow19
Hi Tony, looks like you answered my question in this thread. Quick question, where exactly to add the script? I've got the Menu System, which I believe is what controls the save system. Is that right, and should I add this there?
Thanks.
Edit: I didn't notice this was for Opsive Controllers. I'm using your Menu System for saving purposes.
Re: Some questions.
Posted: Tue Feb 25, 2020 9:48 am
by Tony Li
Hi Chris,
No problem. The Save System is normally on the Dialogue Manager GameObject, so add the script there.
Re: Some questions.
Posted: Thu Feb 27, 2020 8:43 am
by chrislow19
Hi Tony,
Any thoughts on why this error might have popped up? It appears to be related to the PlaymakerGlobalVarsSaver - I noticed it popped up after using the scene warp I set up in the game. Of note - I recently started using PlayMaker this past couple weeks (I've been using Dialogue System for a couple of months). All of my PlayMaker FSM's are currently separate from scenewarp objects though. This error hasn't changed my ability to load scenes via scene warp either.

- Untitled-1.jpg (118.53 KiB) Viewed 6750 times
Re: Some questions.
Posted: Thu Feb 27, 2020 9:06 am
by Tony Li
Hi Chris,
Inspect your PlayMakerGlobalVariableSaver component. Try assigning a unique string to its Key field, such as "PM Globals".
It may be that two savers are saving their data under the same key. When PlayMakerGlobalVariableSaver asks for its saved data, it may be receiving the data from the other saver instead.
If that doesn't fix it, it may be a bug in Unity's JSON parser. If so, what version of Unity are you using? When this happens, what are your global variables and their values?
Re: Some questions.
Posted: Thu Feb 27, 2020 9:13 pm
by chrislow19
Tony, you're right, it was the two savers issue. Assigning a unique string worked and the error has been eliminated with extreme prejudice.
Thank you good sir!
Re: Some questions.
Posted: Thu Feb 27, 2020 9:55 pm
by Tony Li
Glad to help!
Re: Some questions.
Posted: Tue Jun 02, 2020 10:31 pm
by muramasa
Tony Li wrote: ↑Sat Dec 14, 2019 8:55 pm
Happy to help!
Hey Tony! Thanks for your script to bring hope to me. lol
But it seems can not save Playmaker global array... would you try to add it, please?
Re: Some questions.
Posted: Tue Jun 02, 2020 11:37 pm
by Tony Li
Hi,
I'll add that to the roadmap. I'll plan for it to support arrays of bool, int, float, or string.