diff --git a/Assets/YooAsset/Runtime/AssetSystem/Handles/AssetOperationHandle.cs b/Assets/YooAsset/Runtime/AssetSystem/Handles/AssetOperationHandle.cs index 94c8b1a..add1558 100644 --- a/Assets/YooAsset/Runtime/AssetSystem/Handles/AssetOperationHandle.cs +++ b/Assets/YooAsset/Runtime/AssetSystem/Handles/AssetOperationHandle.cs @@ -57,6 +57,10 @@ namespace YooAsset /// public AssetOperationHandle GetAssetObjet(out TAsset asset) where TAsset : UnityEngine.Object { + if(Status != EOperationStatus.Succeed) + { + YooLogger.Warning($"The {Provider.MainAssetInfo.AssetPath}[{Provider.MainAssetInfo.AssetType}] is not success.Error[{Provider.LastError}]"); + } asset = AssetObject as TAsset; return this; }