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.

2015.1.7 Unity soundbank path invalid in build

0 votes
I've recently updated my Unity integration to Wwise 2015.1.7. It work fine in the editor, but no sound in the build. The log informed me that soundbanks are not where they supposed to be. I checked, they were there, as usual.

Added more logging and realized that ms_Instance.basePath doesn't contain the path set in the WwiseSettings.xlm (which is set to Soundbanks folder under StreamingAssets). The Init.bnk path building sequence looks as this:

ms_Instance.basePath: 3533366637353665363434323631366536623733
fullBasePath: [...]/StreamingAssets\3533366637353665363434323631366536623733
InitBankPath: [...]\StreamingAssets\3533366637353665363434323631366536623733\Windows\Init.bnk

I fixed this for now by hardcoding Soundbanks in basePath, but I have no idea why it is set to such value.

My WwiseSettings.xlm:

?xml version="1.0" encoding="utf-8"?>
<WwiseSettings xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <WwiseProjectPath>../BeatCopAudio/BeatCop.wproj</WwiseProjectPath>
  <SoundbankPath>SoundBanks/</SoundbankPath>
  <CreateWwiseGlobal>true</CreateWwiseGlobal>
  <CreateWwiseListener>false</CreateWwiseListener>
  <OldProject>false</OldProject>
</WwiseSettings>
asked May 30, 2016 in General Discussion by Maciej M. (510 points)

Please sign-in or register to answer this question.

...