From 9f29c2986444bed2308bb88de44b89798c517d13 Mon Sep 17 00:00:00 2001 From: Natalie Bunduwongse Date: Wed, 16 Jul 2025 20:32:26 +1200 Subject: [PATCH] fix: windows uwb cache path --- .../Runtime/Helper/WebBrowserUtils.cs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Helper/WebBrowserUtils.cs b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Helper/WebBrowserUtils.cs index bff41f886..b51d2fc58 100644 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Helper/WebBrowserUtils.cs +++ b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Runtime/Helper/WebBrowserUtils.cs @@ -43,10 +43,8 @@ public static string GetAdditionFilesDirectory() { #if UNITY_EDITOR return Path.GetFullPath(Path.Combine(Directory.GetParent(Application.dataPath)!.FullName, "Library")); -#elif UNITY_STANDALONE_OSX - return Application.persistentDataPath; #else - return Application.dataPath; + return Application.persistentDataPath; #endif }