ES2InvalidDataException on Basic Save
Posted: Thu Nov 09, 2017 7:24 pm
Oh dear, I seem to have failed at the first hurdle with Easy Save 2.
Created a new scene, a new script, and stuck this in the Update:
Straight out of the Basic Saving and Loading Guide. But, I get this when I hit F5:
What am I doing that is silly? I've opened up and ran the examples provided with the package, they all work fine.
Unity 2017.2.
Created a new scene, a new script, and stuck this in the Update:
Code: Select all
if (Input.GetKeyDown(KeyCode.F5)) {
ES2.Save(123, "SavePlz");
}
Code: Select all
ES2InvalidDataException: Easy Save 2 Error: The file provided does not contain data that is readable by Easy Save. Please make sure that file was created by Easy Save.
ES2Reader.Next ()
ES2Reader.DeleteTags (ICollection`1 tags, .ES2Writer writer)
ES2Writer.Delete ()
ES2Writer.Save (Boolean checkForOverwrite)
ES2Writer.Save ()
ES2.Save[Int32] (Int32 param, System.String identifier)
SaveAndLoadManagerSic.Update () (at Assets/SaveAndLoadTest/SaveAndLoadManagerSic.cs:23)
Unity 2017.2.