playMaker

Author Topic: ArrayMaker/ArrayList error  (Read 443 times)

HedgeWizard

  • Playmaker Newbie
  • *
  • Posts: 12
ArrayMaker/ArrayList error
« on: July 01, 2021, 02:24:16 PM »
Hi

I am trying to load a playmaker array list proxy using the ES3 Arraylist load action and I get this error:

Array SaveLoad : Load : ES3ArraylistLoad : System.FormatException: Expected '{' or "null", found '"'.

Thanks for your time

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 6608
    • jinxtergames
Re: ArrayMaker/ArrayList error
« Reply #1 on: July 01, 2021, 04:04:41 PM »
Hi.
Have Tried Resetting the ES3 savedata? maybe it got corrupted
it can happen if you use other Es3 actions and some with encryption and other without encryption.
Ecosystem might not work at the moment
here are direct Github Links to the custom actions :
https://github.com/PlayMakerEcosystem
https://github.com/jeanfabre


Join the PlayMaker Discord Channel!

HedgeWizard

  • Playmaker Newbie
  • *
  • Posts: 12
Re: ArrayMaker/ArrayList error
« Reply #2 on: July 02, 2021, 03:52:42 AM »
Hi djaydino

Thank you for the response. I am using other ES3 actions, but none of them encrypts data

How do I go about resetting the save data?

I just attempted to save/load a regular array variable with the ES3 regular save/load actions; same error. All other variables than arrays seems to save and load fine

Thank you

ps: this is how the entire error looks, not sure if that is helpful

_Game_Manager : Array SaveLoad : Load : ES3ArraylistLoad : System.FormatException: Expected '{' or "null", found '"'.
  at ES3Internal.ES3JSONReader.ReadNullOrCharIgnoreWhitespace (System.Char expectedChar) [0x0009f] in C:\Intangled\SideQuest\ISO game main folder\Demerara Unity Project\Project Demerara\Assets\Plugins\Easy Save 3\Scripts\Readers\ES3JSONReader.cs:359
  at ES3Internal.ES3JSONReader.StartReadObject () [0x00007] in C:\Intangled\SideQuest\ISO game main folder\Demerara Unity Project\Project Demerara\Assets\Plugins\Easy Save 3\Scripts\Readers\ES3JSONReader.cs:111
  at ES3Reader.ReadObject[T] (ES3Types.ES3Type type) [0x00000] in C:\Intangled\SideQuest\ISO game main folder\Demerara Unity Project\Project Demerara\Assets\Plugins\Easy Save 3\Scripts\Readers\ES3Reader.cs:246
  at ES3Reader.Read[T] (ES3Types.ES3Type type) [0x00076] in C:\Intangled\SideQuest\ISO game main folder\Demerara Unity Project\Project Demerara\Assets\Plugins\Easy Save 3\Scripts\Readers\ES3Reader.cs:278
  at ES3Types.ES3ListType.Read (ES3Reader reader) [0x00023] in C:\Intangled\SideQuest\ISO game main folder\Demerara Unity Project\Project Demerara\Assets\Plugins\Easy Save 3\Scripts\Types\Collection Types\ES3ListType.cs:64
  at ES3Reader.Read[T] (ES3Types.ES3Type type) [0x0004a] in C:\Intangled\SideQuest\ISO game main folder\Demerara Unity Project\Project Demerara\Assets\Plugins\Easy Save 3\Scripts\Readers\ES3Reader.cs:274
  at ES3Reader.Read[T] (System.String key) [0x0004b] in C:\Intangled\SideQuest\ISO game main folder\Demerara Unity Project\Project Demerara\Assets\Plugins\Easy Save 3\Scripts\Readers\ES3Reader.cs:197
  at ES3.Load[T] (System.String key, ES3Settings settings) [0x0003b] in C:\Intangled\SideQuest\ISO game main folder\Demerara Unity Project\Project Demerara\Assets\Plugins\Easy Save 3\Scripts\ES3.cs:391
  at HutongGames.PlayMaker.Actions.ES3ArraylistLoad.Execute () [0x0006f] in C:\Intangled\SideQuest\ISO game main folder\Demerara Unity Project\Project Demerara\Assets\PlayMaker ArrayMaker EasySave3\Actions\ES3ArraylistLoad.cs:68
  at HutongGames.PlayMaker.Actions.ES3ArraylistLoad.Enter () [0x00036] in C:\Intangled\SideQuest\ISO game main folder\Demerara Unity Project\Project Demerara\Assets\PlayMaker ArrayMaker EasySave3\Actions\ES3ArraylistLoad.cs:52
  at ES3PlayMaker.ActionBase.OnEnter () [0x00000] in C:\Intangled\SideQuest\ISO game main folder\Demerara Unity Project\Project Demerara\Assets\Plugins\Easy Save 3\PlayMaker\ES3PlayMaker.cs:42
UnityEngine.Debug:LogError (object,UnityEngine.Object)
HutongGames.PlayMaker.FsmLog:AddEntry (HutongGames.PlayMaker.FsmLogEntry,bool) (at C:/Projects/Playmaker_1.9.1/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/FsmLog.cs:174)
HutongGames.PlayMaker.FsmLog:LogAction (HutongGames.PlayMaker.FsmLogType,string,bool) (at C:/Projects/Playmaker_1.9.1/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/FsmLog.cs:363)
HutongGames.PlayMaker.FsmStateAction:LogError (string) (at C:/Projects/Playmaker_1.9.1/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/FsmStateAction.cs:299)
ES3PlayMaker.ActionBase:HandleError (string) (at Assets/Plugins/Easy Save 3/PlayMaker/ES3PlayMaker.cs:64)
ES3PlayMaker.ActionBase:OnEnter () (at Assets/Plugins/Easy Save 3/PlayMaker/ES3PlayMaker.cs:46)
HutongGames.PlayMaker.FsmState:ActivateActions (int) (at C:/Projects/Playmaker_1.9.1/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/FsmState.cs:222)
HutongGames.PlayMaker.FsmState:OnEnter () (at C:/Projects/Playmaker_1.9.1/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/FsmState.cs:192)
HutongGames.PlayMaker.Fsm:EnterState (HutongGames.PlayMaker.FsmState) (at C:/Projects/Playmaker_1.9.1/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/Fsm.cs:3072)
HutongGames.PlayMaker.Fsm:SwitchState (HutongGames.PlayMaker.FsmState) (at C:/Projects/Playmaker_1.9.1/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/Fsm.cs:3011)
HutongGames.PlayMaker.Fsm:UpdateStateChanges () (at C:/Projects/Playmaker_1.9.1/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/Fsm.cs:2944)
HutongGames.PlayMaker.Fsm:UpdateState (HutongGames.PlayMaker.FsmState) (at C:/Projects/Playmaker_1.9.1/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/Fsm.cs:3088)
HutongGames.PlayMaker.Fsm:Update () (at C:/Projects/Playmaker_1.9.1/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/Fsm.cs:2231)
PlayMakerFSM:Update () (at C:/Projects/Playmaker_1.9.1/Projects/Playmaker.source.unity/Assets/PlayMaker/PlayMakerFSM.cs:624)


« Last Edit: July 02, 2021, 06:26:21 AM by HedgeWizard »

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 6608
    • jinxtergames
Re: ArrayMaker/ArrayList error
« Reply #3 on: July 02, 2021, 08:49:08 AM »
hi.

it should be here :



but this might be an older version of es3 that i have
Ecosystem might not work at the moment
here are direct Github Links to the custom actions :
https://github.com/PlayMakerEcosystem
https://github.com/jeanfabre


Join the PlayMaker Discord Channel!

HedgeWizard

  • Playmaker Newbie
  • *
  • Posts: 12
Re: ArrayMaker/ArrayList error
« Reply #4 on: July 02, 2021, 08:59:44 AM »
Odd, when I press to open the easy save 3 window, it does not open. (solved this by resetting unity layout)

I did find the clear persistant data path under tools --> Easy Save 3 tho. However it did not solve the issue.

 
« Last Edit: July 02, 2021, 10:53:33 AM by HedgeWizard »

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 6608
    • jinxtergames
Re: ArrayMaker/ArrayList error
« Reply #5 on: July 02, 2021, 09:01:37 AM »
Hi.
Ok i will ping Jean to have a look
What unity / playmaker / es3 version are you using?
Ecosystem might not work at the moment
here are direct Github Links to the custom actions :
https://github.com/PlayMakerEcosystem
https://github.com/jeanfabre


Join the PlayMaker Discord Channel!

HedgeWizard

  • Playmaker Newbie
  • *
  • Posts: 12
Re: ArrayMaker/ArrayList error
« Reply #6 on: July 02, 2021, 09:29:33 AM »
unity: 2021.1.12f1   playermaker: 1.9.1  easysave: Version 3.3.2f5

currently updating to unity 13f1 to see if that gives a different result.

Ill also try a clean project later to see if I can reproduce the error there.

Thanks for your time

update: 13f1 gave me the same error
« Last Edit: July 02, 2021, 09:34:38 AM by HedgeWizard »

HedgeWizard

  • Playmaker Newbie
  • *
  • Posts: 12
Re: ArrayMaker/ArrayList error
« Reply #7 on: July 02, 2021, 09:54:30 AM »
Hi

I tried it on a new empty project and got the same result.


HedgeWizard

  • Playmaker Newbie
  • *
  • Posts: 12
Re: ArrayMaker/ArrayList error
« Reply #8 on: July 17, 2021, 04:04:28 AM »
Hi djaydino.

Has there been any update on this issue?

Thanks for your time

edit: The most recent Easy Save update solved it.
« Last Edit: July 17, 2021, 06:00:09 PM by HedgeWizard »