A lightweight auto-save editor extension for Unity 6 that prevents data loss from unexpected editor crashes.
- 🔄 Automatic Scene Saving: Automatically saves your scene at configurable intervals (default: 10 minutes)
- 🎬 Play Mode Protection: Automatically saves before entering play mode
- 💾 Backup Mode: Option to save timestamped copies without overwriting the original
- 📢 Console Notifications: Optional logging of save operations
- ⚡ Manual Save Command: Quick save command from the menu
- 🎨 Visual Settings Window: User-friendly configuration interface
- Open
Window > Package Managerin the Unity Editor - Click the
+button in the top left corner - Select
Add package from git URL... - Enter the following URL:
https://github.com/Stella2211/unity-autosave.git - Click
Add
This method does not support automatic updates, so it's not recommended.
- Copy
AutoSaveExtension.csandAutoSaveSettingsWindow.csfiles to your project'sAssets/Editor/folder - Unity will automatically compile and initialize the extension
- The auto-save feature is enabled by default
- Navigate to
Tools > AutoSave > Settingsin the Unity menu bar - Configure your preferences in the settings window
- ✅ Enable AutoSave: Toggle the auto-save feature on/off
- ⏱️ Save Interval: Set the interval for automatic saves (1-60 minutes)
- 📋 Save as Copy: Create timestamped backup files without overwriting
- 🔔 Show Notifications: Display console messages when saving
- 💾 Save Now:
Tools > AutoSave > Save Now- Execute an immediate save - 🔄 Reset Timer: Available in the settings window - Reset the countdown timer
- This extension only works with scenes that have been manually saved at least once
- Auto-save is disabled during play mode and compilation
- Minimum save interval is 1 minute to prevent excessive saving
- Backup files use the format:
SceneName_AutoSave_YYYYMMDD_HHMMSS.unity
unity-autosave/
├── package.json
├── README.md
├── LICENSE
├── CHANGELOG.md
└── Editor/
├── AutoSaveExtension.cs
└── AutoSaveSettingsWindow.cs
This extension is provided under the MIT License.
If auto-save is not working:
- ✔️ Ensure the scene has been manually saved at least once
- ✔️ Verify the extension is enabled in the settings
- ✔️ Check the Unity console for error messages
- ✔️ Confirm you're not in play mode or during compilation
Feel free to submit issues and pull requests to improve this extension!
- 🎉 Initial release
- 🔄 Basic auto-save functionality
- 🎬 Auto-save before play mode
- 💾 Backup mode support
- 🎨 Settings window UI