diff --git a/Assets/YooAsset/Runtime/AssetSystem/Provider/BundledProvider.cs b/Assets/YooAsset/Runtime/AssetSystem/Provider/BundledProvider.cs index 340173a..d1b61e1 100644 --- a/Assets/YooAsset/Runtime/AssetSystem/Provider/BundledProvider.cs +++ b/Assets/YooAsset/Runtime/AssetSystem/Provider/BundledProvider.cs @@ -48,7 +48,7 @@ namespace YooAsset result.TotalSize += (ulong)dependBundle.MainBundleInfo.Bundle.FileSize; result.DownloadedBytes += dependBundle.DownloadedBytes; } - result.Progress = result.DownloadedBytes / result.TotalSize; + result.Progress = (float)result.DownloadedBytes / result.TotalSize; return result; }