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.

0 votes

Greetings, we are using Unity 2017.1.3f1 with Wwise  2017.2.4.6590, Wwise Integration 2017.2.4.6590.1064. 

I succesfully integrated Unity and Wwise, generated soundbank and push my commits via Source Tree, but when the programmer tries to build the project the Wwise won't let it happen.

It works perfectly on my machine though.

The console gives errors:

WwiseUnity: Could not find source folder for <Android> platform. Did you remember to generate your banks?
UnityEngine.Debug:LogError(Object)
AkBuildPreprocessor:CopySoundbanks(Boolean, String, String&) (at Assets/Wwise/Editor/WwiseSetupWizard/AkBuildPreprocessor.cs:97)
AkBuildPreprocessor:OnPreprocessBuildInternal(BuildTarget, String) (at Assets/Wwise/Editor/WwiseSetupWizard/AkBuildPreprocessor.cs:132)
AkBuildPreprocessor:OnPreprocessBuild(BuildTarget, String) (at Assets/Wwise/Editor/WwiseSetupWizard/AkBuildPreprocessor.cs:165)
UnityEditor.HostView:OnGUI()

----------------------------------------------------------

WwiseUnity: Soundbank folder has not been copied for <Android> target at <C:/Users/user/Desktop/Soccer.apk>. This will likely result in a build without sound!!!
UnityEngine.Debug:LogError(Object)
AkBuildPreprocessor:OnPreprocessBuildInternal(BuildTarget, String) (at Assets/Wwise/Editor/WwiseSetupWizard/AkBuildPreprocessor.cs:135)
AkBuildPreprocessor:OnPreprocessBuild(BuildTarget, String) (at Assets/Wwise/Editor/WwiseSetupWizard/AkBuildPreprocessor.cs:165)
UnityEditor.HostView:OnGUI()

 

in General Discussion by Miras O. (120 points)

1 Answer

–2 votes
I've met the same problem. It seems that AkBuildPreprocessor.cs has checked and try to copy the generatedSoundbanks data from your [ProjectName]_WwiseProject. If you put the GeneratedSoundBanks data under your Assets/StreamingAssets/Audio/..  like what i did, then you can modify the code (in AkBuildPreprocessor.cs) "UnityEngine.Debug.LogError("WwiseUnity: Could not find source ...")" into "UnityEngine.Debug.LogWarning(...)" to avoid to interrupt Building process without being no sound.Wwise will also find that and build into your project. Just have a try!
by Leon W. (100 points)
Thanks for response, i will try it
First of all thanks for mentioning this solution! Just a little update that maybe can help someone in the future. I've removed the Wwise project from the Unity Project folder, and just copy-pasted the soundbanks as mentioned in this answer. I've got the same errors and I had to modify these 2 scripts to make the build work without problems:

AkBuildPreprocessor.cs AND AkBasePathGetter.cs

In both of them just change the LogErrorFormat() call to LogWarningFormat() in the lines showed in Unity Console.
...