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
Wwise version: 2021.1.4.7707

Unity version: 2020.3.24f1

I'm having a problem with no audio playing in the Android build of a Unity project, and I'm not sure what the cause might be.

When playing a scene in-editor on Windows, Wwise events are working and are playing back with no issues.

e.g. In this scene I've loaded a sound bank using an AkBank script, and an event is playing using an AkAmbient script with no problem:

https://drive.google.com/file/d/1e25T0dYw5LczBLBz9tAKdtDcO8xMAVCh/view?usp=sharing

However, when playing an android build of the same scene on Oculus Quest 2, no audio can be heard in game.

The android soundbanks appear to be being built to the correct location, as far as I can tell:

Project Settings > Soundbanks: https://drive.google.com/file/d/1pD7XvrFFLdYesDP_Zt-YeIgTEm6Z9xn3/view?usp=sharing

User Settings > Soundbanks: https://drive.google.com/file/d/1EgsMI40u9AIAiJ4TjlIo2RgdqgvEX3Kf/view?usp=sharing

User Settings > External Sources: https://drive.google.com/file/d/1So5fqo8K-jUm-pffiKlfb0_FmwToIVia/view?usp=sharing

Unity Project Settings > Wwise Editor: https://drive.google.com/file/d/1iAa2S6tf_d5hA8o8i-YhYdd9KTqei8xS/view?usp=sharing

Any ideas on what might be causing the issue?
in General Discussion by Tom Bennett (270 points)

1 Answer

+2 votes
Update for anyone having the same issue - the fix I have working for now is to make sure that in Unity > Edit > Project Settings > Wwise Editor that the 'Copy SoundBanks at pre-Build step' setting is disabled.

When this setting is enabled, when making a build, Wwise tries to copy the android soundbanks over the existing android soundbanks in the android soundbanks path. It then seems to fail, and ends up deleting the android soundbanks altogether.
by Tom Bennett (270 points)
I’m having the same issue and this didn’t help sadly. I have audio in the editor coming from my computer, but never any audio coming from my quest 2. Even when the game is built to the platform. Any help or advice would be really appreciated, I’ve been going in circles for a couple of days now. I’m using the auro 3D plugin, the sound banks are being saved to the correct place, I’ve unchecked this box and I feel like I have done everything that I can find
I've never built for Quest 2 but I notice that if I select patch as opposed to building and sending an apk across to my phone and installing, there will be no sound. I don't know if you can do a similar thing with Quest 2?
...