Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


CleanBuildCache()

Clears cached unified content-build data so the next build recomputes it.
Read time 1 minuteLast updated 13 days ago

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
public static void CleanBuildCache()

Remarks

BuildPipeline.BuildContentDirectory performs the same cleanup when BuildContentOptions.CleanBuildCache is set. Use this to clear that cache between builds without running a content build.