# CleanBuildCache()

> Clears cached unified content-build data so the next build recomputes it.

## Definition

* **Type:** Method
* **Namespace:** [UnityEditor](/engine/6000.7/script-reference/unityeditor.md)
* **Assembly:** UnityEditor.CoreModule

```csharp
public static void CleanBuildCache()
```

### Remarks

[BuildPipeline.BuildContentDirectory](/engine/6000.7/script-reference/unityeditor/buildpipeline/buildcontentdirectory.md) performs the same cleanup when [BuildContentOptions.CleanBuildCache](/engine/6000.7/script-reference/unityeditor/buildcontentoptions/cleanbuildcache.md) is set. Use this to clear that cache between builds without running a content build.

Additional Resources: [BuildContentOptions.CleanBuildCache](/engine/6000.7/script-reference/unityeditor/buildcontentoptions/cleanbuildcache.md), [BuildPipeline.BuildContentDirectory](/engine/6000.7/script-reference/unityeditor/buildpipeline/buildcontentdirectory.md)
