Community Q&A

Welcome to Audiokinetic’s community-driven Q&A forum. This is the place where Wwise and Strata users help each other out. For direct help from our team, please use the Support Tickets page. To report a bug, use the Bug Report option in the Audiokinetic Launcher. (Note that Bug Reports submitted to the Q&A forum will be rejected. Using our dedicated Bug Report system ensures your report is seen by the right people and has the best chance of being fixed.)

To get the best answers quickly, follow these tips when posting a question:

  • Be Specific: What are you trying to achieve, or what specific issue are you running into?
  • Include Key Details: Include details like your Wwise and game engine versions, operating system, etc.
  • Explain What You've Tried: Let others know what troubleshooting steps you've already taken.
  • Focus on the Facts: Describe the technical facts of your issue. Focusing on the problem helps others find a solution quickly.

+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 General Discussion by Talha M. (110 points)
recategorized by Samuel L. (Audiokinetic)

Please sign-in or register to answer this question.

...