# Unity editor cache

Source: https://diskcity.app/folders/ides-unity-cache

**Safe to delete.** Yes. Unity bakes lighting and fills its cache again as you work.

## What it is

Unity editor cache is data your Mac or an app can rebuild. It lives at ~/Library/Caches/com.unity3d.UnityEditor.

## Where it is

- `~/Library/Caches/com.unity3d.UnityEditor`

## How big is it?

```sh
du -sh "$HOME/Library/Caches/com.unity3d.UnityEditor"
```

## How to remove it

1. Quit Unity, Unity Hub, com.unity3d.UnityEditor5.x, com.unity3d.unityhub first.
2. In Finder, choose Go > Go to Folder (Shift-Command-G), paste the path above and press Return.
3. Leave anything opened or changed less than 14 days ago (for a folder, its newest file counts). DiskCity waits that long too.
4. Move only what passes these checks to the Trash.
5. Empty the Trash to get the space back. Until then, you can still put things back.

## What DiskCity does with it

DiskCity labels it as rebuildable and removes it when you approve, or on its own if you turn on Autopilot. It only suggests it once it hasn't been used for 14 days. It waits until Unity is closed.
