Saving and Loading from Resources

Resources allows you to include and load files which will be included at runtime, including Easy Save 3 save files.

To Load from Resources, you must set the location to Resources in the default settings, or by using an ES3Settings object.

The file must have the extension .bytes to be able to load it from Resources.

Easy Save can only save to the Resources folder from inside the Editor as the Resources folder doesn’t exist when your Unity application gets built.

If you want to save data to Resources with the intention of loading later, the file must end in the extension .bytes.

To save directly to Resources you can use  Application.dataPath + "/Resources/" to get the path. However, you will need exit Play mode and call AssetDatabase.Refresh() or manually refresh your project to be able to load from that file.

Alternatively, you can save data to a folder of your choice and then drag it into the Resources folder.