Audiokinetic's Community Q&A is the forum where users can ask and answer questions within the Wwise and Strata communities. If you would like to get an answer from Audiokinetic's Technical support team, make sure you use the Support Tickets page.

0 votes
Wwise callbacks exclusively return gameObject IDs rather than actual gameObject references. Many functions outside of the Wwise world only use gameObject references and cannot use object ID. I see several different ways of finding an ID from a either a gameObject or it's name as a string, but I see absolutely none for going the other way in the process.

Am I missing something here?
in General Discussion by Justin S. (100 points)

1 Answer

0 votes
You can hold a dictionary with gameObjectID as key and the game object reference as value in your game's audio manager. When you get the gameObjectID from callback, try to find the actual GameObject from the dictionary.
by Victor L. (310 points)
...