I have also been trying to save all data from another asset ("Dialogue system" from PixelCrushers) with Easy Save 3 autosave feature, and i keep getting this error when i start the game:
Code: Select all
FileNotFoundException: File "C:/Users/[User]/AppData/LocalLow/DefaultCompany/DialogueSystemEasySave/SaveData.es3" could not be found.
ES3.Load[String] (System.String key, .ES3Settings settings) (at Assets/Plugins/Easy Save 3/Scripts/ES3.cs:265)
ES3AutoSaveMgr.Load () (at Assets/Plugins/Easy Save 3/Scripts/Auto Save/ES3AutoSaveMgr.cs:45)
ES3AutoSaveMgr.Awake () (at Assets/Plugins/Easy Save 3/Scripts/Auto Save/ES3AutoSaveMgr.cs:59)
Code: Select all
using PixelCrushers.DialogueSystem;
...
public void Save()
{
if(autoSaves == null || autoSaves.Count == 0)
return;
var gameObjects = new GameObject[autoSaves.Count];
for (int i = 0; i < autoSaves.Count; i++)
gameObjects [i] = autoSaves [i].gameObject;
ES3.Save<GameObject[]>(key, gameObjects, settings);
// Saves the Dialogue System data
ES3.Save<string> ("dialogue", PersistentDataManager.GetSaveData (), settings);
}
public void Load()
{
ES3.Load<GameObject[]>(key, new GameObject[0], settings);
// Applies the previously saved data of the Dialogue System to the current dialogue
PersistentDataManager.ApplySaveData (ES3.Load<string> ("dialogue", settings));
}
...
PS: i have only pasted the relevant bits of code, which are the one's in which i've added code.