error load save FormatException !!

Discussion and help for Easy Save 3
Post Reply
samso_n
Posts: 5
Joined: Mon Jan 04, 2021 10:21 pm

error load save FormatException !!

Post by samso_n »

Hello, I use easy save for one month now with no problems.

But today, I have bug when I loading my save with auto save : load event awake ?
FormatException: Expected '}', found ']'.
ES3Internal.ES3JSONReader.ReadCharIgnoreWhitespace (System.Char expectedChar) (at Assets/Plugins/Easy Save 3/Scripts/Readers/ES3JSONReader.cs:374)
ES3Internal.ES3JSONReader.EndReadObject () (at Assets/Plugins/Easy Save 3/Scripts/Readers/ES3JSONReader.cs:116)
ES3Reader.ReadObject[T] (ES3Types.ES3Type type) (at Assets/Plugins/Easy Save 3/Scripts/Readers/ES3Reader.cs:251)
ES3Reader.Read[T] (ES3Types.ES3Type type) (at Assets/Plugins/Easy Save 3/Scripts/Readers/ES3Reader.cs:278)
ES3Types.ES3CollectionType.ReadICollection[T] (ES3Reader reader, System.Collections.Generic.ICollection`1[T] collection, ES3Types.ES3Type elementType) (at Assets/Plugins/Easy Save 3/Scripts/Types/Collection Types/ES3CollectionType.cs:52)
ES3Types.ES3ArrayType.Read (ES3Reader reader) (at Assets/Plugins/Easy Save 3/Scripts/Types/Collection Types/ES3ArrayType.cs:36)
ES3Reader.Read[T] (ES3Types.ES3Type type) (at Assets/Plugins/Easy Save 3/Scripts/Readers/ES3Reader.cs:274)
ES3.Deserialize (ES3Types.ES3Type type, System.Byte[] bytes, ES3Settings settings) (at Assets/Plugins/Easy Save 3/Scripts/ES3.cs:775)
ES3.Deserialize[T] (System.Byte[] bytes, ES3Settings settings) (at Assets/Plugins/Easy Save 3/Scripts/ES3.cs:764)
ES3File.Load[T] (System.String key, T defaultValue) (at Assets/Plugins/Easy Save 3/Scripts/ES3File.cs:243)
ES3.Load[T] (System.String key, T defaultValue, ES3Settings settings) (at Assets/Plugins/Easy Save 3/Scripts/ES3.cs:413)
ES3AutoSaveMgr.Load () (at Assets/Plugins/Easy Save 3/Scripts/Auto Save/ES3AutoSaveMgr.cs:81)
ES3AutoSaveMgr.Awake () (at Assets/Plugins/Easy Save 3/Scripts/Auto Save/ES3AutoSaveMgr.cs:100)
I'm sorry I can't find the solution on the forum. I use the last version of easy save.

I saw same problems on the forum but no solution.

Thanks a lot !
User avatar
Joel
Moodkie Staff
Posts: 4846
Joined: Wed Nov 07, 2012 10:32 pm

Re: error load save FormatException !!

Post by Joel »

Hi there,

This most commonly happens because the type of an object or field has changed, and cannot be converted to the type you're trying to load.

If this is the case, deleting your save data by going to Tools > Easy Save 3 > Clear Persistent Data Path should resolve the issue.

All the best,
Joel
Joel @ Moodkie Interactive
Purchase Easy Save | Contact | Guides | Docs | Getting started
samso_n
Posts: 5
Joined: Mon Jan 04, 2021 10:21 pm

Re: error load save FormatException !!

Post by samso_n »

Hi, Thanks for your reply but nothing work.

Same error all times !

Other solution ???
User avatar
Joel
Moodkie Staff
Posts: 4846
Joined: Wed Nov 07, 2012 10:32 pm

Re: error load save FormatException !!

Post by Joel »

Please could you create a new, very basic project with a basic scene which replicates this and private message it to me so I can see what is happening?

All the best,
Joel
Joel @ Moodkie Interactive
Purchase Easy Save | Contact | Guides | Docs | Getting started
samso_n
Posts: 5
Joined: Mon Jan 04, 2021 10:21 pm

Re: error load save FormatException !!

Post by samso_n »

Thanks for your help, I went back to an older version with no problem !! :D
Post Reply