diff --git a/Assets/YooAsset/Runtime/AssetSystem/AssetSystem.cs b/Assets/YooAsset/Runtime/AssetSystem/AssetSystem.cs index c3825e9..aff8ba3 100644 --- a/Assets/YooAsset/Runtime/AssetSystem/AssetSystem.cs +++ b/Assets/YooAsset/Runtime/AssetSystem/AssetSystem.cs @@ -199,7 +199,7 @@ namespace YooAsset return completedProvider.CreateHandle(); } - string providerGUID = assetInfo.GUID; + string providerGUID = nameof(LoadAssetAsync) + assetInfo.GUID; ProviderBase provider = TryGetProvider(providerGUID); if (provider == null) { @@ -227,7 +227,7 @@ namespace YooAsset return completedProvider.CreateHandle(); } - string providerGUID = assetInfo.GUID; + string providerGUID = nameof(LoadSubAssetsAsync) + assetInfo.GUID; ProviderBase provider = TryGetProvider(providerGUID); if (provider == null) { @@ -255,7 +255,7 @@ namespace YooAsset return completedProvider.CreateHandle(); } - string providerGUID = assetInfo.GUID; + string providerGUID = nameof(LoadAllAssetsAsync) + assetInfo.GUID; ProviderBase provider = TryGetProvider(providerGUID); if (provider == null) { @@ -283,7 +283,7 @@ namespace YooAsset return completedProvider.CreateHandle(); } - string providerGUID = assetInfo.GUID; + string providerGUID = nameof(LoadRawFileAsync) + assetInfo.GUID; ProviderBase provider = TryGetProvider(providerGUID); if (provider == null) { diff --git a/Assets/YooAsset/Runtime/PackageSystem/AssetInfo.cs b/Assets/YooAsset/Runtime/PackageSystem/AssetInfo.cs index 9a5411d..2bd4d84 100644 --- a/Assets/YooAsset/Runtime/PackageSystem/AssetInfo.cs +++ b/Assets/YooAsset/Runtime/PackageSystem/AssetInfo.cs @@ -28,9 +28,9 @@ namespace YooAsset return _providerGUID; if (AssetType == null) - _providerGUID = $"{AssetPath}[null]"; + _providerGUID = $"[{AssetPath}][null]"; else - _providerGUID = $"{AssetPath}[{AssetType.Name}]"; + _providerGUID = $"[{AssetPath}][{AssetType.Name}]"; return _providerGUID; } }