From 04d748d387b9d37e2682413a4cb1aa59bccd53e6 Mon Sep 17 00:00:00 2001 From: Misaka-L Date: Sun, 27 Oct 2024 10:52:57 +0800 Subject: [PATCH] refactor: remove custom cache since it didn't provide any help --- .../Editor/AutoBuildBase.cs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/Packages/com.yuxiaviation.vrchat.autobuild/Editor/AutoBuildBase.cs b/src/Packages/com.yuxiaviation.vrchat.autobuild/Editor/AutoBuildBase.cs index 4163783..961105f 100644 --- a/src/Packages/com.yuxiaviation.vrchat.autobuild/Editor/AutoBuildBase.cs +++ b/src/Packages/com.yuxiaviation.vrchat.autobuild/Editor/AutoBuildBase.cs @@ -77,10 +77,7 @@ public static async Task InitAutoBuildAsync() { var args = GetArguments(); - var customCachePath = Path.GetFullPath("AutoBuildCache"); - Debug.Log("Custom cache path: " + customCachePath); - Directory.CreateDirectory(customCachePath); - Caching.currentCacheForWriting = Caching.AddCache(customCachePath); + Debug.Log("Application Cache Path: " + Application.temporaryCachePath); Debug.Log("Opening scene"); EditorSceneManager.OpenScene(args.ScenePath, OpenSceneMode.Single);