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

Hello,

I would like to migrate my Wwise plugin to support 2022.1, and I am facing the changes that were made greatly to the SoundBank metadata files following the migration documentation. The first thing and almost the only thing that confused me is the new "Hash" field on SoundBank elements. It looks like a GUID, but it is named "hash" and it changes and changes back when I edit a bank back and forth. The only definition I can find for this field is in ak.wwise.core.soundbank.generated, where it says "Hash value used for SoundBank generation purposes", which is too ambiguous to implement.

Does this field affect Source Control on the generated SoundBanks?

I want to implement this field because the new feature introduced in 2022.1, WG-56344 Automatic update of source control for generated files on SoundBank generation. It is not hard to think if they are associated. My plugin operates directly on the xml files, and I don't want to break anything in 2022.1.

Is this field necessary? How can I implement the hash? How can I make use of this field?

Thank you.

in Beta Feedback by Hua W. (130 points)

1 Answer

0 votes
 
Best answer

Hello. Sorry for the confusing description for BankInfo.Hash. Yes, it is formatted as a GUID. However, the field is simply a 128-bit hash value of the contents of the associated Soundbank the last time it was generated. The value is used by the Soundbank generation process to determine if the Soundbank has changed since the last generation. But, the value is not read from the metadata file. The same value is also in the Soundbank file (.bnk). The value is added to the metadata file as extra information. It may prove useful in the future. At the moment, it's not used.

Hope this helps.

by Michael C. (Audiokinetic) (520 points)
selected by Hua W.
...