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.

+2 votes

I am using WWise 2017.2.2.6553 and Unity 2017.3.1p3

I recently reintegrated my WWise project into my Uniity project (a windows and mac game), and now whenever I go to build (not run, but actually build), I get the following errors on both Mac and Windows machines:

Couldn't locate WwiseCLI, unable to generate SoundBanks.
UnityEngine.Debug:LogError(Object)
AkUtilities:GenerateSoundbanks(List`1) (at Assets/Wwise/Deployment/API/Handwritten/AkUtilities.cs:193)
AkBuildPreprocessor:CopySoundbanks(Boolean, String, String&) (at Assets/Wwise/Editor/WwiseSetupWizard/AkBuildPreprocessor.cs:87)
AkBuildPreprocessor:OnPreprocessBuildInternal(BuildTarget, String) (at Assets/Wwise/Editor/WwiseSetupWizard/AkBuildPreprocessor.cs:128)
AkBuildPreprocessor:OnPreprocessBuild(BuildTarget, String) (at Assets/Wwise/Editor/WwiseSetupWizard/AkBuildPreprocessor.cs:161)
UnityEditor.BuildPlayerWindow:BuildPlayerAndRun()

Error building Player: Couldn't locate WwiseCLI, unable to generate SoundBanks.

 

 

Build completed with a result of 'Failed'
UnityEditor.BuildPlayerWindow:BuildPlayerAndRun()

UnityEditor.BuildPlayerWindow+BuildMethodException: 2 errors
  at UnityEditor.BuildPlayerWindow+DefaultBuildMethods.BuildPlayer (UnityEditor.BuildPlayerOptions options) [0x0020e] in /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPlayerWindowBuildMethods.cs:181 
  at UnityEditor.BuildPlayerWindow.CallBuildMethods (System.Boolean askForBuildLocation, UnityEditor.BuildOptions defaultBuildOptions) [0x00065] in /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPlayerWindowBuildMethods.cs:88 
UnityEditor.BuildPlayerWindow:BuildPlayerAndRun()

 

 

We are using Unity Collaborate as our source control. So the WWise Project is within the Assets Folder of the unity project. The soundbanks are both here under 'GeneratedSoundbanks' and also manually copied into StreamingAssets/Audio/GeneratedSoundbanks.

The only computer there are no build errors with is the Windows machine from which I originally re-integrated this WWise project into Unity. On it, WWIse is installed on my B: drive rather than C: (not sure if this has any impact).

Any help at all appreciated!

in General Discussion by Vicky P. (120 points)
Did you ever get a fix for this? I'm having the same problem!

Please sign-in or register to answer this question.

...