AudiokineticのコミュニティQ&AはWwiseやStrataのコミュニティ内でユーザ同士が質問・回答をし合うことができるフォーラムです。Audiokineticテクニカルサポートチームからの回答をご希望の場合は、必ず サポートチケットページ をご利用ください。

Wwise Android build error.

0 支持

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?

王思谦 (280 ポイント) 2023 3/27 質問 General Discussion

回答 1

0 支持
 
ベストアンサー

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.

Runpeng Fan (440 ポイント) 2023 3/29 回答
王思谦 2023 6/25 選択
...