Unity Auto Reload is a small Editor utility for projects where Unity misses external file changes. It watches files under Assets/ and can call AssetDatabase.Refresh() automatically.
This package was created after I ran into an issue on Unity 6.3 while using an Arch-based Linux distro: script and CSV edits made from external editors were not being picked up by Unity automatically
It was built for Linux workflows where Unity's automatic refresh can miss changes from external editors, but the tool is configurable and defaults off on non-Linux platforms.
- File watcher based refresh.
- Optional polling fallback.
- Script-only, all-assets, or custom-extension scopes.
- Optional refresh during play mode.
- Optional
ForceUpdaterefresh. - Local per-user settings through
EditorPrefs. - Defaults enabled on Linux Editor and disabled elsewhere.
In Unity:
- Open
Window > Package Manager. - Click
+. - Select
Add package from git URL. - Enter your repository URL:
https://github.com/Ege-Mert/unity-auto-reload.git
In Unity:
- Open
Window > Package Manager. - Click
+. - Select
Add package from disk. - Choose this package's
package.json.
Open:
Tools > Unity Auto Reload > Settings
Recommended defaults:
Use File Watcher: onUse Polling Fallback: on for Linux (the default there), off elsewhereRefresh Scope:Scripts Onlyfor code workflowsRefresh Scope:Custom Extensionsfor CSV/table workflows
For CSV/data iteration, use the CSV/Data Editing preset.
If refreshes are missed intermittently:
- Check the console for
file watcher kept failing. That points at the inotify watch limit; raise it withsudo sysctl fs.inotify.max_user_watches=524288(persist it in/etc/sysctl.d/). - Leave
Use Polling Fallbackon. It is the only path that survives a dead watcher, and the refresh still happens withinPolling Interval + Settle Delay. - Edits saved during a compile are picked up by the catch-up scan that runs right after the domain reload, so they no longer need a second save to register.
Tested with Unity 6.3 on an Arch-based Linux distro.
Polling fallback does not scan every editor frame. The editor update callback runs every frame, but file scanning only happens after Polling Interval has elapsed.
MIT