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
Hi Audiokinetic!

I've been using Wwise on my latest game for a month now and I realised that when I build the game and try to play it, there is no audio at all.

When I play the game within unity all the audio is working and it sounds awesome.

But as soon as I build and play, there is no audio.

Any ideas?

Thanks!

 

Arnaud
in General Discussion by Arnaud B. (310 points)

2 Answers

+1 vote
Hi,

I've got the same issue, I think it's linked to the settings of the build, in the menu File/Build Settings, try to set Architecture to x86 instead of x86_64.

SeB
by SeB (380 points)
Hi SeB

Thanks for the answer. My settings were already on x86, so I tried all of the different settings and still no sound.
What I did do now was get a debug log in game (not sure what I didn't think of this before). The error I get on game start is  "DllNotFoundExeption" and it's pointing the finger at "AkSoundEngine".

Any ideas? I've found online that the error sometimes means that the file relies on other dlls, so maybe AkSoundEngine relies on another dll that I haven't imported?

Thanks for the help.

AB
Have you installed the plugins from Unity ?
I mean going to Wwise/Install Plugins/Windows/Win32/Profile, it will install the proper dll in your unity assets folder.
And after this try to rebuild the game ?
is it working ?
Yes I have. Still nothing... I'm running Mac btw.
I'm running out of ideas.
Thanks for the help so far!
Okay, problem is solved. I reinstalled the integration and all the plugins.
It didn't work at first, but then I had to drag the soundbank into my asset folder for it to work. I thought wwise was doing that automatically.
Anyway, thanks!
I have the same problem but your solution did not work for me. Uninstalling the integration causes a whole mess of errors and re-importing the package has errors of duplication and inaccessibility.
+1 vote
 
Best answer

Regarding the copying of soundbanks when building, if you support only one platform for your game, you could generate your banks straight in the StreamingAssets folder by changing the SoundBank path in the Project Properties in you Wwise project.

If you support multiple platforms, you need to write a pipeline build script (or use the sample we provide).  Please read more about the subject in the help file, section "Build for target platform".

by Mathieu J. (Audiokinetic) (7.1k points)
selected by Mathieu J. (Audiokinetic)
Thanks Mathieu.
Makes a lot more sense now that it's all clear.

Arnaud
...