Questions et réponses de la communauté

Bienvenue sur le forum de questions et réponses d'Audiokinetic, propulsé par la communauté. C'est l'endroit où les utilisateurs de Wwise et Strata s'entraident. Pour obtenir une aide directe de notre équipe, veuillez utiliser la page « Tickets de soutien ». Pour signaler un bug, utilisez l'option Bug Report dans l'Audiokinetic Launcher. (Veuillez noter que les rapports de bug soumis au forum questions-réponses seront rejetés. L'utilisation de notre système de rapport de bug dédié garantit que votre rapport est vu par les bonnes personnes et a les meilleures chances d'être corrigé.)

Pour obtenir rapidement les meilleures réponses, suivez ces conseils lorsque vous posez une question :

  • Soyez précis : qu'essayez-vous de réaliser ou quel est le problème spécifique que vous rencontrez ?
  • Pensez à inclure les détails importants : incluez des détails tels que les versions de Wwise et du moteur de jeu, le système d'exploitation, etc.
  • Expliquez ce que vous avez essayé de faire : indiquez aux autres les mesures que vous avez déjà prises pour essayer de résoudre le problème.
  • Concentrez-vous sur les faits : décrivez les aspects techniques de votre problème. Se concentrer sur le problème aide les autres personnes à trouver rapidement une solution.

0 votes

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

dans General Discussion par Noam Hoze (100 points)

1 Réponse

0 votes

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.
par Philippe M. (580 points)
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.
...