From 067bb49a0035e8494c67e3311617e7327334aa9a Mon Sep 17 00:00:00 2001 From: danielambrits <37514006+danielambrits@users.noreply.github.com> Date: Sat, 26 Jul 2025 11:06:31 +0200 Subject: [PATCH] Fix WebGL build error --- Runtime/AkAddressableBankManager.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Runtime/AkAddressableBankManager.cs b/Runtime/AkAddressableBankManager.cs index a45dae1..407b630 100644 --- a/Runtime/AkAddressableBankManager.cs +++ b/Runtime/AkAddressableBankManager.cs @@ -487,7 +487,7 @@ public async Task LoadBankAsync(WwiseAddressableSoundBank bank, AssetReferenceWw #if UNITY_WEBGL && !UNITY_EDITOR // On WebGL, we MUST load asynchronously in order to yield back to the browser. // Failing to do so will result in the thread blocking forever and the asset will never be loaded. - soundBankAsset = await asyncHandle.Task; + soundBankAsset = (WwiseSoundBankAsset)await asyncHandle.Task; #else if (loadAsync) {