update asset bundle builder

修复在构建过程中发生异常后进度条未消失的问题。
pull/72/head
hevinci 2023-02-28 19:01:32 +08:00
parent c57c313dbe
commit 7c1873e861
1 changed files with 1 additions and 0 deletions

View File

@ -48,6 +48,7 @@ namespace YooAsset.Editor
} }
catch (Exception e) catch (Exception e)
{ {
EditorTools.ClearProgressBar();
buildResult.FailedTask = task.GetType().Name; buildResult.FailedTask = task.GetType().Name;
buildResult.FailedInfo = e.ToString(); buildResult.FailedInfo = e.ToString();
buildResult.Success = false; buildResult.Success = false;