From 2d72d6dbc962433dbbdfd42a04f711de00df6a19 Mon Sep 17 00:00:00 2001 From: hevinci Date: Tue, 25 Oct 2022 15:56:07 +0800 Subject: [PATCH] Update AssetSystem --- Assets/YooAsset/Runtime/AssetSystem/AssetSystem.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Assets/YooAsset/Runtime/AssetSystem/AssetSystem.cs b/Assets/YooAsset/Runtime/AssetSystem/AssetSystem.cs index 4ff1842..510522a 100644 --- a/Assets/YooAsset/Runtime/AssetSystem/AssetSystem.cs +++ b/Assets/YooAsset/Runtime/AssetSystem/AssetSystem.cs @@ -131,6 +131,8 @@ namespace YooAsset } _loaders.Clear(); + _sceneHandles.Clear(); + // 注意:调用底层接口释放所有资源 Resources.UnloadUnusedAssets(); }