mirror of https://github.com/tuyoogame/YooAsset
Compare commits
2 Commits
338ae8c422
...
a81e3d77c0
Author | SHA1 | Date |
---|---|---|
luckisnow | a81e3d77c0 | |
luran | 84a336de2a |
|
@ -180,15 +180,18 @@ namespace YooAsset.Editor
|
||||||
for (int index = 0; index < manifest.BundleList.Count; index++)
|
for (int index = 0; index < manifest.BundleList.Count; index++)
|
||||||
{
|
{
|
||||||
var packageBundle = manifest.BundleList[index];
|
var packageBundle = manifest.BundleList[index];
|
||||||
if (_cacheBundleTags.TryGetValue(index, out var value))
|
foreach (var dependBundleID in packageBundle.DependIDs)
|
||||||
{
|
{
|
||||||
packageBundle.Tags = value.ToArray();
|
if (_cacheBundleTags.TryGetValue(dependBundleID, out var value))
|
||||||
}
|
{
|
||||||
else
|
packageBundle.Tags = value.ToArray();
|
||||||
{
|
}
|
||||||
// 注意:SBP构建管线会自动剔除一些冗余资源的引用关系,导致游离资源包没有被任何主资源包引用。
|
else
|
||||||
string warning = BuildLogger.GetErrorMessage(ErrorCode.FoundStrayBundle, $"Found stray bundle ! Bundle ID : {index} Bundle name : {packageBundle.BundleName}");
|
{
|
||||||
BuildLogger.Warning(warning);
|
// 注意:SBP构建管线会自动剔除一些冗余资源的引用关系,导致游离资源包没有被任何主资源包引用。
|
||||||
|
string warning = BuildLogger.GetErrorMessage(ErrorCode.FoundStrayBundle, $"Found stray bundle ! Bundle ID : {index} Bundle name : {packageBundle.BundleName}");
|
||||||
|
BuildLogger.Warning(warning);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue