From 374feaf82dbb9f183ecb9b9954fdc6803db7bf9f Mon Sep 17 00:00:00 2001 From: Nocye Date: Tue, 20 Jun 2023 21:15:03 +0800 Subject: [PATCH] =?UTF-8?q?update=20init=E6=A3=80=E6=B5=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Assets/YooAsset/Runtime/PackageSystem/ResourcePackage.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Assets/YooAsset/Runtime/PackageSystem/ResourcePackage.cs b/Assets/YooAsset/Runtime/PackageSystem/ResourcePackage.cs index b31c900..7182387 100644 --- a/Assets/YooAsset/Runtime/PackageSystem/ResourcePackage.cs +++ b/Assets/YooAsset/Runtime/PackageSystem/ResourcePackage.cs @@ -844,6 +844,7 @@ namespace YooAsset public long GetCachedTagsRawFileSize(string[] tags) { + DebugCheckInitialize(); var list = _playModeServices.GetCachedTagsRawFiles(tags); long size = 0; for (var i = 0; i < list.Count; i++) @@ -855,6 +856,7 @@ namespace YooAsset internal List GetCachedTagsRawFiles(string[] tags) { + DebugCheckInitialize(); return _playModeServices.GetCachedTagsRawFiles(tags); } public ClearTagsCachedRawFilesOperation ClearTagsCacheFilesAsync(string[] tags)