Unity Engine documentationScript ReferenceUnityEditorLightmappingCancel()Cancels the currently running asynchronous bake job.Read time 1 minuteLast updated a month agoDefinition Type: Method Namespace: UnityEditor Assembly: UnityEditor public static void Cancel()