1. Only add EasySave components via the EasySave window or in the case of ES3Prefab via right clicking on the prefab and selecting "Enable EasySave for Prefab"
2. Instanced materials will not be saved and would result in a missing material when loading. Solutions depending on cases:
Case 1 (Affecting material that is used by 1 object only): Make sure you adjust the sharedmaterial of the mesh renderer.
Case 2 (Affecting material that is used by many objects): Save the Material directly using an ES3.Save call so that it's saved by value (assuming that the Material is serializable). If it's not serializable, you would need to save the aspects of the colour which change (e.g. the colour), and then load this colour and reassign it to the Material.
I've just started learning how to use Easy Save by following this guide and then playing around with the things in the scene. I understand that prefabs need to have an ES3 Prefab and an ES3 Auto Save component on them and the scene needs to have the Easy Save 3 Manager in it. I'm trying to setup a scene by myself to better understand how the auto saving works but I'm running into this error now.
Code: Select all
FormatException: Expected ',' separating properties or '"' before property name, found '{'.
ES3Internal.ES3JSONReader.ReadPropertyName () (at Assets/Plugins/Easy Save 3/Scripts/Readers/ES3JSONReader.cs:63)
ES3Reader.ReadRefProperty () (at Assets/Plugins/Easy Save 3/Scripts/Readers/ES3Reader.cs:153)
ES3Types.ES3Type_GameObject.ReadObject[T] (ES3Reader reader) (at Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_GameObject.cs:102)
ES3Types.ES3ObjectType.Read[T] (ES3Reader reader) (at Assets/Plugins/Easy Save 3/Scripts/Types/ES3ObjectType.cs:54)
ES3Reader.ReadObject[T] (ES3Types.ES3Type type) (at Assets/Plugins/Easy Save 3/Scripts/Readers/ES3Reader.cs:249)
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'll also like to keep this thread open to other questions/problems I run into, is that okay?