From 7d2defedb7a4ae47a3654602b889aeb99858a564 Mon Sep 17 00:00:00 2001 From: hevinci Date: Thu, 4 May 2023 11:14:01 +0800 Subject: [PATCH] update asset bundle collector --- .../Editor/AssetBundleCollector/AssetBundleCollector.cs | 2 +- .../Editor/AssetBundleCollector/AssetBundleCollectorGroup.cs | 2 +- .../Editor/AssetBundleCollector/AssetBundleCollectorPackage.cs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Assets/YooAsset/Editor/AssetBundleCollector/AssetBundleCollector.cs b/Assets/YooAsset/Editor/AssetBundleCollector/AssetBundleCollector.cs index 5fe9474..18ca48d 100644 --- a/Assets/YooAsset/Editor/AssetBundleCollector/AssetBundleCollector.cs +++ b/Assets/YooAsset/Editor/AssetBundleCollector/AssetBundleCollector.cs @@ -207,7 +207,7 @@ namespace YooAsset.Editor if (addressTemper.TryGetValue(address, out var existed) == false) addressTemper.Add(address, assetPath); else - throw new Exception($"The address is existed : {address} in collector : {CollectPath}.\nAssetPath:\n {existed}\n {assetPath}"); + throw new Exception($"The address is existed : {address} in collector : {CollectPath} \nAssetPath:\n {existed}\n {assetPath}"); } } } diff --git a/Assets/YooAsset/Editor/AssetBundleCollector/AssetBundleCollectorGroup.cs b/Assets/YooAsset/Editor/AssetBundleCollector/AssetBundleCollectorGroup.cs index 8ae3037..2818c77 100644 --- a/Assets/YooAsset/Editor/AssetBundleCollector/AssetBundleCollectorGroup.cs +++ b/Assets/YooAsset/Editor/AssetBundleCollector/AssetBundleCollectorGroup.cs @@ -106,7 +106,7 @@ namespace YooAsset.Editor if (addressTemper.TryGetValue(address, out var existed) == false) addressTemper.Add(address, assetPath); else - throw new Exception($"The address is existed : {address} in group : {GroupName}.\nAssetPath:\n{existed}\n{assetPath}"); + throw new Exception($"The address is existed : {address} in group : {GroupName} \nAssetPath:\n {existed}\n {assetPath}"); } } } diff --git a/Assets/YooAsset/Editor/AssetBundleCollector/AssetBundleCollectorPackage.cs b/Assets/YooAsset/Editor/AssetBundleCollector/AssetBundleCollectorPackage.cs index a912c1c..694dbc5 100644 --- a/Assets/YooAsset/Editor/AssetBundleCollector/AssetBundleCollectorPackage.cs +++ b/Assets/YooAsset/Editor/AssetBundleCollector/AssetBundleCollectorPackage.cs @@ -86,7 +86,7 @@ namespace YooAsset.Editor if (addressTemper.TryGetValue(address, out var existed) == false) addressTemper.Add(address, assetPath); else - throw new Exception($"The address is existed : {address}.\nAssetPath:\n {existed}\n {assetPath}"); + throw new Exception($"The address is existed : {address} \nAssetPath:\n {existed}\n {assetPath}"); } } }