This project utilises Editor Coroutines to implement a simple auto save function for Unity scenes. You can set it to auto save at regular intervals (in minutes), save on Play Mode, and also save all open scenes with a single click. Installation is designed to be simple, and one-time.
- Clone or download this repository, and extract/copy the "com.aniruddhahar.unity-autosave" folder somewhere.
- Create a new Unity project or open an existing project. Confirmed working with Unity 2019.4 LTS, 2020 LTS and later.
- In the project window, right click on the 'Packages' root folder and click 'Show in Explorer' OR Navigate to the project folder manually and open the 'Packages' folder (NOT the Assets folder)
- Copy the "com.aniruddhahar.unity-autosave" folder extracted/copied from from this repository to the 'Packages' folder.
- The package will be imported when you switch to Unity. The Editor Coroutines dependency package should also be installed automatically.
- There should be a new "Autosave > Autosave Settings" Menu Item, which will open the settins window.
- In the settings winodow, you can set options such as Save Interval (Minutes only), Save on Play, Console Logs and Enable/Disable Autosave.
- You must click "Update Interval" after changing any settings for the change to take effect.