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.

+1 vote
How to have wwise events that play sound with positioning on DOTS/ECS objects that lack a gameObject?

We are aware that posting an event demand a GameObject , altough how could wwise works with such features. We are evalutating wwise integration into a new project and we would like to know how can we approcach this.

https://unity3d.com/how-to/DOTS-resource-list

Have wwise ever support that Unity Feature ?
in General Discussion by Yann M. (110 points)
I've had some success integrating Wwise with ECS, you'd have to create your own ECS system and call AkSoundEngine.XXX methods directly from your Entities.ForEach. You can get basic sound with the following:

AkSoundEngine.RegisterGameObjInternal(id) (you can treat the Entity struct as an ID)
AkSoundEngine.SetObjectPosition()
AkSoundEngine.PostEvent()

Calling these from ScheduleParallel() seem to work fine too, but I don't know if multithreading is actually supported.

1 Answer

+1 vote
Wwise Unity Integration currently doesn't support ECS objects.

Although it's possible to use the low-level part and plug it directly by yourself. We've had good success with this, but it entails a lot of C# hacking.

There are long-term tasks we want to achieve in order to get a full high-speed support for DOTS in low-level, and we're getting there. But like all features such as this, the best bet is to ask your Audiokinetic representative about this, more we have people asking for this, more the priorities will be shifted.
by Michel D. (510 points)
...