Audiokinetic's Community Q&A is the forum where users can ask and answer questions within the Wwise and Strata communities. If you would like to get an answer from Audiokinetic's Technical support team, make sure you use the Support Tickets page.

+1 vote

Hello!

I'm currently building a game in Unity for WebGL, but I can't seem to get the build to kick off because of some Wwise errors I'm getting (at the end). I figured its because I don't have the web deployment method installed for Wwise, but when I go to modify my version of Wwise (2022.1.1), I don't see an option to add "Web" for deployment methods. Any help on how I can add that or how I should integrate Wwsie for WebGL to resolve the errors below?

 

Assets\Wwise\API\Runtime\Generated\Common\AkDeviceSettings.cs(71,10): error CS0246: The type or namespace name 'AkThreadProperties' could not be found (are you missing a using directive or an assembly reference?)

Assets\Wwise\API\Runtime\Generated\Common\AkInitializationSettings.cs(80,10): error CS0246: The type or namespace name 'AkPlatformInitSettings' could not be found (are you missing a using directive or an assembly reference?)

Assets\Wwise\API\Runtime\Generated\Common\AkInitializationSettings.cs(96,10): error CS0246: The type or namespace name 'AkUnityPlatformSpecificSettings' could not be found (are you missing a using directive or an assembly reference?)

Assets\Wwise\API\Runtime\Handwritten\Common\AkCommonPlatformSettings.cs(55,17): error CS0246: The type or namespace name 'AkCommunicationSettings' could not be found (are you missing a using directive or an assembly reference?)

Assets\Wwise\API\Runtime\Handwritten\Common\AkCommonPlatformSettings.cs(480,29): error CS0246: The type or namespace name 'AkPlatformInitSettings' could not be found (are you missing a using directive or an assembly reference?)

Assets\Wwise\API\Runtime\Handwritten\Windows\AkWindowsSettings.cs(59,31): error CS0246: The type or namespace name 'AkPlatformInitSettings' could not be found (are you missing a using directive or an assembly reference?)

Assets\Wwise\API\Runtime\Handwritten\Common\AkCommonPlatformSettings.cs(316,29): error CS0246: The type or namespace name 'AkPlatformInitSettings' could not be found (are you missing a using directive or an assembly reference?)

Assets\Wwise\API\Runtime\Handwritten\Common\AkCommonPlatformSettings.cs(404,29): error CS0246: The type or namespace name 'AkUnityPlatformSpecificSettings' could not be found (are you missing a using directive or an assembly reference?)

Assets\Wwise\API\Runtime\Handwritten\Common\AkCommonPlatformSettings.cs(314,29): error CS0246: The type or namespace name 'AkPlatformInitSettings' could not be found (are you missing a using directive or an assembly reference?)

Assets\Wwise\API\Runtime\Handwritten\Common\AkCommonPlatformSettings.cs(482,29): error CS0246: The type or namespace name 'AkUnityPlatformSpecificSettings' could not be found (are you missing a using directive or an assembly reference?)

Assets\Wwise\API\Runtime\Handwritten\Common\AkCommonPlatformSettings.cs(326,39): error CS0117: 'AkSoundEngine' does not contain a definition for 'AK_MAX_SOUND_PROPAGATION_DEPTH'

Assets\Wwise\API\Runtime\Handwritten\Common\AkCommonPlatformSettings.cs(526,29): error CS0246: The type or namespace name 'AkCommunicationSettings' could not be found (are you missing a using directive or an assembly reference?)

Assets\Wwise\API\Runtime\Handwritten\Common\AkCommonPlatformSettings.cs(524,9): error CS0246: The type or namespace name 'AkCommunicationSettings' could not be found (are you missing a using directive or an assembly reference?)

Assets\Wwise\API\Runtime\Handwritten\Common\AkCommonPlatformSettings.cs(635,18): error CS0246: The type or namespace name 'AkCommunicationSettings' could not be found (are you missing a using directive or an assembly reference?)

Error building Player because scripts had compiler errors

WwiseUnity: Bank Main failed to load (AK_BankAlreadyLoaded)
UnityEngine.Debug:LogWarning (object)
AkBankManager/BankHandle:LogLoadResult (AKRESULT) (at Assets/Wwise/API/Runtime/Handwritten/Common/AkBankManager.cs:205)
AkBankManager/BankHandle:LoadBank () (at Assets/Wwise/API/Runtime/Handwritten/Common/AkBankManager.cs:170)
AkBankManager:LoadBank (string,bool,bool) (at Assets/Wwise/API/Runtime/Handwritten/Common/AkBankManager.cs:109)
AK.Wwise.Bank:Load (bool,bool) (at Assets/Wwise/API/Runtime/WwiseTypes/WwiseTypes/AkWwiseBank.cs:64)
AkBank:HandleEvent (UnityEngine.GameObject) (at Assets/Wwise/MonoBehaviour/Runtime/AkBank.cs:80)
AkTriggerHandler:RegisterTriggers (System.Collections.Generic.List`1<int>,AkTriggerBase/Trigger) (at Assets/Wwise/MonoBehaviour/Runtime/AkTriggerHandler.cs:106)
AkTriggerHandler:Awake () (at Assets/Wwise/MonoBehaviour/Runtime/AkTriggerHandler.cs:45)
AkBank:Awake () (at Assets/Wwise/MonoBehaviour/Runtime/AkBank.cs:57)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

Build completed with a result of 'Failed' in 4 seconds (3518 ms)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

UnityEditor.BuildPlayerWindow+BuildMethodException: 16 errors
  at UnityEditor.BuildPlayerWindow+DefaultBuildMethods.BuildPlayer (UnityEditor.BuildPlayerOptions options) [0x002da] in <5f40cdb07bd44d76a23dad985a4ec283>:0
  at UnityEditor.BuildPlayerWindow.CallBuildMethods (System.Boolean askForBuildLocation, UnityEditor.BuildOptions defaultBuildOptions) [0x00080] in <5f40cdb07bd44d76a23dad985a4ec283>:0
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

 

in Feature Requests by Talha M. (110 points)

Please sign-in or register to answer this question.

...