Saving is ok, but on load I got this error:
Code: Select all
FormatException: Expected '{' or "null", found '1'.
ES3Internal.ES3JSONReader.ReadNullOrCharIgnoreWhitespace (System.Char expectedChar) (at Assets/Plugins/Easy Save 3/Scripts/Readers/ES3JSONReader.cs:357)
ES3Internal.ES3JSONReader.StartReadObject () (at Assets/Plugins/Easy Save 3/Scripts/Readers/ES3JSONReader.cs:111)
ES3Reader.ReadObject[T] (System.Object obj, ES3Types.ES3Type type) (at Assets/Plugins/Easy Save 3/Scripts/Readers/ES3Reader.cs:236)
ES3Reader.ReadInto[T] (System.Object obj, ES3Types.ES3Type type) (at Assets/Plugins/Easy Save 3/Scripts/Readers/ES3Reader.cs:292)
ES3Types.ES3DictionaryType.ReadInto (ES3Reader reader, System.Object obj) (at Assets/Plugins/Easy Save 3/Scripts/Types/Collection Types/ES3DictionaryType.cs:133)
ES3Reader.ReadInto[T] (System.Object obj, ES3Types.ES3Type type) (at Assets/Plugins/Easy Save 3/Scripts/Readers/ES3Reader.cs:290)
ES3Reader.ReadInto[T] (System.String key, T obj) (at Assets/Plugins/Easy Save 3/Scripts/Readers/ES3Reader.cs:228)
ES3.LoadInto[T] (System.String key, T obj, ES3Settings settings) (at Assets/Plugins/Easy Save 3/Scripts/ES3.cs:509)
ES3.LoadInto[T] (System.String key, T obj) (at Assets/Plugins/Easy Save 3/Scripts/ES3.cs:467)
Gameplay.KnowledgeData.<.ctor>b__0_1 () (at Assets/Sources/Shared/Knowledge/KnowledgeData.cs:16)
Gameplay.SavegameManager.Load () (at Assets/Sources/Shared/Savegame/SavegameManager.cs:18)
Gameplay.Input.InputManager.Tick () (at Assets/Sources/Shared/Input/InputManager.cs:57)
Gameplay.Game.Update () (at Assets/Sources/Shared/Core/Game.cs:64)
Code: Select all
{
"Book_2_04main Interacted" : {
"__type" : "System.Collections.Generic.List`1[[Gameplay.Interactive.InteractiveStack, Gameplay.Shared, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null]],mscorlib",
"value" : [
]
},
"Items" : {
"__type" : "System.Collections.Generic.Dictionary`2[[System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]],mscorlib",
"value" : {"Coin":20
}
},
"Knowledge" : {
"__type" : "System.Collections.Generic.Dictionary`2[[System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]],mscorlib",
"value" : {"Items\/Coin":1,"Locations\/S19":1,"K_ClockmakerMansion\/TimeState":4
}
}
}
btw I tried this with and without Pretty print JSON option, same result