Please note that we will be performing routine server maintenance on November 23rd. Your experience may be temporarily limited on the Audiokinetic website and Wwise Launcher for a period of 48 hours.

Community Q&A

Where Wwise users help each other out!

Audiokinetic's Community Q&A is the forum where Wwise users ask and answer questions within the Wwise community. Contact Sales if your project requires a support plan.

Unity - Couldn't locate WWiseCLI, unable to generate soundbanks

+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!

asked Mar 28 in General Discussion by Vicky P. (120 points)

Please sign-in or register to answer this question.

...