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.

Wwise Android build error.

0 votes

The Environment I'm Using

  • Unity 2020.3.35f1
  • Wwise 2021.1.12.7973
  • Wwise Unity Integration 2021.1.12.2529

The Problem I'm Facing

Everything works fine in Play mode in Unity, but after installing the Android Build on my phone, I receive the following error message: WwiseUnity: Failed load Init.bnk with result: AK_FileNotFound.

I have confirmed that both Init.bnk and the main soundbank General.bnk are located in assets/Audio/GeneratedSoundbanks/Android in the generated APK. Additionally, I have checked that the Soundbank path in Unity -> Edit -> Project Settings -> Wwise Editor is set to Audio/GeneratedSoundBanks/ and that Copy SoundBanks at pre-Build step is enabled. The BasePath in Wwise Initialization is also set to Audio/GeneratedSoundBanks/, the Wwise project is a single-language project, and the Start Up Language matches the name in the Wwise project.

What could be causing this issue, and how can I resolve it?

asked Mar 27, 2023 in General Discussion by 王思谦 (280 points)

1 Answer

0 votes
Best answer

Only resourcesand streaming assets folders will be packed to APK in the Unity's build pipeline. You can try to unpack that apk with APKTOOL to verify my judgment.

answered Mar 29, 2023 by Runpeng Fan (440 points)
selected Jun 25, 2023 by 王思谦