Skip to content

Commit 24878c1

Browse files
fix(Windows): force Unity cache invalidation for UwbWebView compilation
The code in commit 749e700 is CORRECT, but Unity's Library cache in GitHub Actions contains an old compiled version causing: error CS0029: Cannot implicitly convert type '(bool, bool)' to 'int' This commit adds a comment to force file modification timestamp update, which will trigger Unity recompilation and bypass the stale cache. Root cause: GitHub Actions caches Library/ folder which contains compiled assemblies. When code changes but cache key doesn't, old compiled code persists.
1 parent 749e700 commit 24878c1

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/Packages/Passport/Runtime/Scripts/Private/Uwb/UwbWebView.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,8 @@ private async UniTask WaitForClientConnected(WebBrowserClient webBrowserClient)
138138
Debug.Log($"[UwbWebView] Waiting up to {timeoutSeconds} seconds for OnLoadFinish event...");
139139

140140
// Race between completion and timeout
141-
// WhenAny with UniTask<T> and UniTask (void) returns int index directly
141+
// WhenAny with UniTask<T> and UniTask (void) returns int index directly
142+
// Force recompilation: UniTask.Delay returns UniTask (void), not UniTask<T>
142143
int winIndex = await UniTask.WhenAny(completionTask, timeoutTask);
143144

144145
if (winIndex == 1) // Timeout won

0 commit comments

Comments
 (0)