Skip to content

Commit 9a8092a

Browse files
author
Jiang Yin
committed
修正一处生成资源列表产生循环引用的问题
1 parent e2451b7 commit 9a8092a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Scripts/Editor/AssetBundleAnalyzer/AssetBundleAnalyzerController.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,11 @@ private void AnalyzeAsset(string assetName, Asset hostAsset, DependencyData depe
139139
continue;
140140
}
141141

142+
if (dependencyAssetName == hostAsset.Name)
143+
{
144+
continue;
145+
}
146+
142147
Stamp stamp = new Stamp(dependencyAssetName, hostAsset.Name);
143148
if (m_AnalyzedStamps.Contains(stamp))
144149
{

0 commit comments

Comments
 (0)