# Clean Restart (Pro)

## Clean Restart Unity

Automatically restart Unity with a clean cache to fix import issues and ensure clean configuration changes.

{% hint style="info" %}
**Professional Feature**: Clean Restart Unity is only available in realvirtual Professional.
{% endhint %}

**realvirtual → Settings → Clean Restart Unity (Pro)**

### What It Does

1. Saves your current work
2. Closes Unity completely
3. Deletes the Library folder (Unity's cache)
4. Restarts Unity automatically
5. Reimports all assets with clean cache

{% hint style="warning" %}
This process takes 5-15 minutes depending on project size.
{% endhint %}

### When to Use

* **After configuration changes** (switching between Professional/Starter/etc.)
* **Import errors or corrupted assets**
* **Shader compilation problems**
* **Unexpected Unity behavior**
* **Before important builds**

### How to Use

1. Click **realvirtual → Settings → Clean Restart Unity (Pro)**
2. Confirm the dialog
3. Wait for Unity to restart and reimport assets

The process is fully automated - just wait for completion.

### For Non-Professional Users

If you don't have realvirtual Professional, you can achieve the same result manually:

#### Manual Clean Restart Steps:

1. **Save your work** in Unity
2. **Close Unity completely**
3. **Delete the Library folder** in your project directory
   * Navigate to your project folder
   * Delete the entire `Library` folder
4. **Restart Unity** and open your project
5. **Wait for reimport** (5-15 minutes)

#### Important Notes:

* The `Library` folder is Unity's cache - deleting it is safe
* Your project files (`Assets`, `ProjectSettings`) are never touched
* Unity will recreate the Library folder automatically

### Troubleshooting

**Unity won't close?** Wait 2 minutes, then use Task Manager (Windows) or Activity Monitor (Mac) to force-close Unity processes.

**File access errors?** Temporarily disable antivirus real-time scanning during the process.

**Long reimport times?** This is normal for large projects - be patient and let Unity finish.
