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. If you would like to get an answer from Audiokinetic's Technical support team, make sure you use the Support Tickets page.

Why does audio not work when Unity is integrated with Wwise?

0 votes

I am incorporating Wwise into a Unity project/file. For some reason, while audio in the Unity project is fine before I integrated Wwise, the integration keeps any audio from playing or being heard, and I do not know why. All settings in Unity have been kept the same before and after the integration, so I cannot figure out what to do with Wwise (and/or Unity) to enable audio to play and be heard again. What should I do?

The versions of Wwise and Unity that I am using for this project are Wwise 2019.2.8.7432, and Unity 2018.4.26f1, respectively.

I also looked up various steps for trying to get the audio to work, but nothing seems to be working. I've mostly been looking at this site: https://www.audiokinetic.com/library/edge/?source=Unity&id=unity_troubleshooting.html#:~:text=There%20is%20no%20sound,-If%20you%20hear&text=Ensure%20your%20SoundBanks%20have%20been,look%20in%20the%20StreamingAssets%20folder.

Looking at one bullet in the link, I don't know how I would properly set the Script Execution Order in Project Settings for the AkInitializer script. However, I don't think it'll change much since the other bulleted sections didn't work for me either. What should I do?

asked Jan 15 in General Discussion by Zachary D. (100 points)

1 Answer

0 votes

Hi Zackary, 

"For some reason, while audio in the Unity project is fine before I integrated Wwise, the integration keeps any audio from playing or being heard, and I do not know why. " - From how I read this, you used Unity audio components before integrating Wwise, and all you did now is integrate Wwise? 

Yes upon installing Wwise, the Unity sound engine is disabled. Once integrated, you should start re-implementing your sounds with the components provided by the integration, like AkEvents, and so on. The Unity audio components won't work with Wwise.

Best advise I can give you, is to read through the Wwise 301 course. At least this chapter would get you started with your first sound. 

Let me know if this helps. 

answered Jan 17 by Mads Maretty S. (Audiokinetic) (10,240 points)
I'll take a look as soon as I can. Does the course address things/points like the audio issue, where t put AkEvents in Unity, etc.?
Yes. The courses will show you how to add various components in the integration, like posting events, setting game syncs, setup reverb zones, and so on.
...