From e4d69d869b80f041fd4be50bb0302c61c0d46893 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BD=95=E5=86=A0=E5=B3=B0?= Date: Wed, 26 Feb 2025 14:22:59 +0800 Subject: [PATCH] update resource package MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 修复2.3.1版本 抖音和微信小游戏 下载器不生效的问题。 --- .../Runtime/ResourcePackage/Operation/DownloaderOperation.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Assets/YooAsset/Runtime/ResourcePackage/Operation/DownloaderOperation.cs b/Assets/YooAsset/Runtime/ResourcePackage/Operation/DownloaderOperation.cs index 37407312..9078cb67 100644 --- a/Assets/YooAsset/Runtime/ResourcePackage/Operation/DownloaderOperation.cs +++ b/Assets/YooAsset/Runtime/ResourcePackage/Operation/DownloaderOperation.cs @@ -147,6 +147,7 @@ namespace YooAsset long downloadBytes = _cachedDownloadBytes; foreach (var downloader in _downloaders) { + downloader.UpdateOperation(); downloadBytes += downloader.DownloadedBytes; if (downloader.IsDone == false) continue;