Skip to content

Commit 9b31986

Browse files
authored
Merge pull request #10046 from keveleigh/progress-bar
Add ClearProgressBar call to fix Build Window freeze on Unity 2020
2 parents b5f2742 + decec97 commit 9b31986

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Assets/MRTK/Core/Utilities/BuildAndDeploy/UnityPlayerBuildTools.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,8 @@ public static BuildReport BuildUnityPlayer(IBuildInfo buildInfo)
132132
// Call the post-build action, if any
133133
buildInfo.PostBuildAction?.Invoke(buildInfo, buildReport);
134134

135+
EditorUtility.ClearProgressBar();
136+
135137
return buildReport;
136138
}
137139

0 commit comments

Comments
 (0)