mirror of https://github.com/tuyoogame/YooAsset
parent
cdaf6f0dca
commit
a5e24be5d4
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue