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.

0 votes
Hello!

I have a problem where my project plays sound just fine, but once I try to make a build of the project it's totally silent.  I've seen others with the same problem, and they seem to have solved it by generating their soundbanks to Unity's streaming assets folder.  I have done this (changhed the soundbanks path in user settings to streaming assets and generating) and I still have no audio.  Forgive me for I'm new to wwise, but I don't know how to get sound working!  Any help is appreciated.
in General Discussion by Thomas K. (120 points)

2 Answers

0 votes

Hello Thomas,

Make sure your SoundBanks are located in PROJECT_ROOT\Assets\StreamingAssets\Audio\GeneratedSoundbanks. For instance, if you are building your project for Windows, your SoundBanks need to be inside: PROJECT_ROOT\Assets\StreamingAssets\Audio\GeneratedSoundbanks\Windows.

Hope this helps !

 

 

by Fabien B. (Audiokinetic) (12.9k points)
Hi Fabien,

I have exactly the same error. In Editor mode everything is ok but when I make a build (Mac or Windows) I can't hear anything. I've spent two days trying to figure out what's happening but I couldn't find any solution.

I manually copy my GeneratedSoundBanks folder (from my Wwise project) inside \StreamingAssets\Audio and I can find the files in the XXX_Data folder once I make the build, however we continue without sound.

Are we doing something wrong? Would be great if you can point us in the right direction.
Hello Juan, I would suggest you to connect to your game using Wwise authoring and then check that the banks are loaded.

Also, if you have 3D sounds make sure when using the built version of the game that the listener is close enough to the source you are trying to listen to.
0 votes
Hey Thomas. Are you using perforce? I just ran into this issue, had already moved my soundbanks into the correct folders and still no sound in build. What we ended up doing was we checked out the entire Wwise project folder (not just the .wproj file) and the StreamingAsstets folder (Assets->StreamingAssets). We built with those checked out and everything works.

Due to an earlier error with a similar solution, I suspect that you could get away with just checking out the GeneratedSoundbanks folder (Assets->StreamingAssets->Audio->GeneratedSoundbanks) and the .cache folder inside your Wwise project folder. That may be worth a try.

You probably don't need this answer seeing as you asked your question in 2015, buuuut while faced with this issue I didn't find an answer, and this was the first thread that came up for me. I'm gonna leave this comment here for the next person who needs it.
by Tomas O. (140 points)
...