コミュニティQ&A

Audiokineticのコミュニティ主導のQ&Aフォーラムへようこそ。ここはWwiseとStrataのユーザのみなさまがお互いに協力し合う場です。弊社チームによる直接のサポートをご希望の場合はサポートチケットページをご利用ください。バグを報告するには、Audiokinetic LauncherのBug Reportオプションをご利用ください。(Q&AフォーラムではBug Reportを受け付けておりませんのでご注意ください。専用のBug Reportシステムをご利用いただくことで、バグの報告が適切な担当部門に届き、修正される可能性が高まります。)

最適な回答を迅速に得られるよう、ご質問を投稿される際は以下のヒントをご参考ください。

  • 具体的に示す:何を達成したいのか、またはどんな問題に直面しているのかを具体的に示してください。
  • 重要な詳細情報を含める:Wwiseとゲームエンジンのバージョンやご利用のOSなど詳細情報を記載してください。
  • 試したことを説明する:すでに試してみたトラブルシューティングの手順を教えてください。
  • 事実に焦点を当てる:問題の技術的な事実を記載してください。問題に焦点を当てることで、ほかのユーザのみなさまが解決策を迅速に見つけやすくなります。

0 支持

Hi Everyone,

I'm currently trying to build a WebGL version of my Unity game with Wwise integration, and I’ve hit a roadblock with the Wwise Addressables workflow.


Setup:

  • Unity version: 2023.2.20f1

  • Wwise version: 2024.3.8749

  • Target platform: WebGL

  • Wwise Addressables package: Installed


Steps I followed:

  1. Integrated Wwise into the Unity project.

  2. Installed the Wwise Addressables package.

  3. Created the path: Assets/WwiseData/Banks

  4. Set the SoundBank output path in Wwise to: WwiseData/Banks

  5. Enabled "Generate Metadata Files: XML" in Wwise Project Settings.

  6. Generated SoundBanks for the Web platform.

  7. Verified that the .bnk files are generated under Assets/WwiseData/Banks/Web.


Problem:

  • SoundbanksInfo.xml is not generated.

  • As a result, Unity logs this error:

    Could not parse SoundbanksInfo.xml for Web. Check Assets/WwiseData/Banks/Web/SoundbanksInfo.xml for possible corruption.
    
  • I tried creating the SoundbanksInfo.xml file manually, but it’s rejected by the Wwise Addressables system.


What I need help with:

  • Is this a known issue with the 2024.3 Wwise version and WebGL?

  • Are there any extra steps required to ensure that SoundbanksInfo.xml is generated?

  • Am I missing a required config in the project or SoundBank settings?

This is currently blocking me from finishing the WebGL deployment — everything else appears to be wired correctly, and the only missing piece is that metadata file.

Any help would be greatly appreciated!

Thanks in advance,
Noam

Noam Hoze (100 ポイント) General Discussion

回答 1

0 支持

Hi Noam,

In Wwise, go to Project -> Project Settings. In the SoundBanks tab, in the Metadata Files option group, try enabling these two options:

  • Generate All Banks Metadata File
  • Generate XML Metadata
Save and generate banks again. This combination should produce SoundBanksInfo.xml at the root of your SoundBanks path for all selected platforms.
Philippe M. (580 ポイント)
Thanks for the help, Philippe! That actually solved it — the `SoundbanksInfo.xml` is now being created properly and the groups are created automatically.

(Side note: using the **Wwise Picker > Generate SoundBanks** in Unity *didn't* generate the `SoundbanksInfo.xml` file for me. I had to do it from the Wwise Authoring app directly.)

Now I’ve hit another issue: while the addressable groups are set up and the banks appear correctly in the list, there’s an error during build:

```
error CS0266: Cannot implicitly convert type 'object' to 'AK.Wwise.Unity.WwiseAddressables.WwiseSoundBankAsset'. An explicit conversion exists (are you missing a cast?)
```

It seems like the AddressableBankManager is trying to access a sound bank as an object and fails to cast it to the correct type.
...