diff --git a/Assets/YooAsset/Runtime/AssetSystem/AssetSystem.cs b/Assets/YooAsset/Runtime/AssetSystem/AssetSystem.cs index 5961c74..68eae1c 100644 --- a/Assets/YooAsset/Runtime/AssetSystem/AssetSystem.cs +++ b/Assets/YooAsset/Runtime/AssetSystem/AssetSystem.cs @@ -297,9 +297,6 @@ namespace YooAsset // 释放子场景句柄 _sceneHandles[providerGUID].ReleaseInternal(); _sceneHandles.Remove(providerGUID); - - // 卸载未被使用的资源(包括场景) - UnloadUnusedAssets(); } internal void UnloadAllScene() { @@ -309,9 +306,6 @@ namespace YooAsset valuePair.Value.ReleaseInternal(); } _sceneHandles.Clear(); - - // 卸载未被使用的资源(包括场景) - UnloadUnusedAssets(); } internal void ClearSceneHandle() {