Compilation & Domain Reload
Every time Unity notices a changed script it compiles and then reloads the script domain, which freezes the editor and resets static state. FuzzyIDE lets you decide when that happens.
Compilation Policies
Choose a policy from the dropdown on the right of the IDE toolbar, or in Preferences › Code IDE › Compilation.
| Policy | Behavior |
|---|---|
| Unity Default | Standard Unity behavior: scripts are refreshed when the editor regains focus and the domain reloads automatically after compiling. |
| Lock Domain Reload (default) | Unity compiles in the background without freezing the editor. The new code is not loaded until you click Reload Domain (Ctrl+Shift+R). |
With Lock Domain Reload you can keep editing, saving, and testing while compilation runs, and a reload never interrupts you – or a terminal session – in the middle of something.
Toolbar Controls
| Control | Shortcut | What it does |
|---|---|---|
| Compile | Ctrl+R | Saves all open files and compiles the changes. |
| Reload Domain | Ctrl+Shift+R | Saves all open files, compiles first if scripts changed, then reloads the domain – only if compilation succeeded. |
| Pending badge | – | Shows how many changed files are not compiled yet. Click it to compile now. |
Status Indicator
The compilation status in the toolbar always tells you where your code stands:
| Status | Meaning |
|---|---|
| ⟳ Compiling… | Unity is compiling (or Compiling, then reloading… after you pressed Reload Domain). |
| ⟳ Reloading Domain… | The new assemblies are being loaded. |
| ● Scripts changed | There are saved changes that haven’t been compiled yet. |
| ● Compiled — Reload Domain to apply | The new code is built but not loaded yet. In Play Mode it reads applies after Play Mode. |
| ✖ Compile failed (N errors) — reload blocked | Unity keeps running the previously loaded code until the errors are fixed. Hover to see the first error. |
| ✔ Up to date | Everything is compiled and loaded (🔒 shows that reloads are locked). |
If a reload can’t happen (for example because compilation failed), a notification explains why and the errors are listed in the Problems panel.
Options
These are in Preferences › Fuzzy Logic Labs › Code IDE › Compilation:
- Compile on Save (Ctrl+S): Start a compile whenever you save a script.
- Defer Script Creation (No Reload on New File): New scripts created from FuzzyIDE (explorer, AI Assistant, drag & drop) are written to disk and added to the pending list instead of being imported immediately, so creating a file doesn’t trigger a compile. Applies to the Lock Domain Reload policy.
- Fast Play Mode (Disable Domain Reload): Turns on Unity’s Enter Play Mode Options with domain and scene reload disabled, so entering Play Mode is almost instant. FuzzyIDE only changes this Unity setting when you toggle the option.
FuzzyIDE never changes Unity’s Auto Refresh preference; it stays your choice.