update asset bundle builder

修复资源包存在循环依赖的情况下打包卡死的问题。
pull/72/head
hevinci 2023-02-24 18:49:45 +08:00
parent cdaf6f0dca
commit a5e24be5d4
1 changed files with 1 additions and 1 deletions

View File

@ -288,7 +288,7 @@ namespace YooAsset.Editor
string bundleName = bundleInfo.BundleName;
if (bundleName == patchBundle.BundleName)
continue;
string[] dependencies = buildResultContext.UnityManifest.GetAllDependencies(bundleName);
string[] dependencies = buildResultContext.UnityManifest.GetDirectDependencies(bundleName);
if (dependencies.Contains(patchBundle.BundleName))
{
referenceList.Add(bundleName);