update asset bundle builder

修复SBP构建时,如果有原生文件导致报错的问题。
pull/72/head
hevinci 2023-02-28 19:21:13 +08:00
parent 3cfc084e62
commit c27a3e105c
1 changed files with 3 additions and 0 deletions

View File

@ -256,6 +256,9 @@ namespace YooAsset.Editor
progressValue = 0;
foreach (var patchBundle in patchManifest.BundleList)
{
if (patchBundle.IsRawFile)
continue;
if (buildResultContext.Results.BundleInfos.ContainsKey(patchBundle.BundleName) == false)
throw new Exception($"Not found bundle in SBP build results : {patchBundle.BundleName}");