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.

+2 votes
For the Unity integration it seems like Wwise should have an option to generate wwise_IDs.cs directly, either in place of or in addition to the c++ .h file. The current process that requires manually generating the .cs file with python script called from "Convert Wwise Soundbank IDs" seems error prone to setup and use.  Or am I missing something?
in Feature Requests by Chris C. (130 points)
I have been wondering about this for quite some time too!
Also, I find that it generates and saves the file under StreamingAssets which means it isn't included in the code project. Surely the point of this is being able to include the file in the solution and access the IDs within? Or am I also missing something?
Agreed on this. This thread was a while ago but a simple change of being able to specify where the c# file is generated would be big.

It actually wasn't very hard to add some editor code to do this for us.

This is the last part that I added to the wwise convert script.

```
if (success)
        {
            int lastSlash = bankIdHeaderPath.LastIndexOf("/");

            string csharpFilePath = $"{bankIdHeaderPath.Substring(0, lastSlash)}/Wwise_IDs.cs";
            string unityFilePath = csharpFilePath.Substring(csharpFilePath.IndexOf("Assets"));
            string newLocation = "Assets/Scripts/Shared/WwiseIds.cs";

            AssetDatabase.MoveAsset(unityFilePath, newLocation);
        }
```

The success variable is a boolean that is set depending on whether the conversion was successful or not.

Please sign-in or register to answer this question.

...