update asset bundle collector

This commit is contained in:
hevinci
2023-09-25 18:37:49 +08:00
parent 054ee93360
commit d560d8a2e8
5 changed files with 19 additions and 1 deletions

View File

@@ -193,6 +193,8 @@ namespace YooAsset.Editor
{
string address = collectInfoPair.Value.Address;
string assetPath = collectInfoPair.Value.AssetPath;
if (string.IsNullOrEmpty(address))
continue;
if (address.StartsWith("Assets/") || address.StartsWith("assets/"))
throw new Exception($"The address can not set asset path in collector : {CollectPath} \nAssetPath: {assetPath}");