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
Hey there,

I'm currently evaluating Wwise for use in a Unity game, and I'm running into a problem right off the bat....

Trying to set up environmental reverbs using the Game Defined Aux feature, but for some reason Wwise will only register an Aux on game objects that have a Character Controller component.

According to the documentation, Wwise should assign an Aux to any game objects that have an AkAuxSendAware script and some sort of collider.  Through trial and error I've found that this script doesn't recognize regular colliders, and only works when there is a Character Controller on the object.  Obviously this isn't a good solution...

Everythign works perfectly on objects with a Character Controller.  I can see the object being assigned an Aux in the Wwise profiler whenever it enters a reverb collider.  When I remove the Character Controller component and replace it with a regular collider, it no longer calls OnTriggerEnter when the object hits a reverb.  Hmm..

Anyone else having this issue?

Thanks.
in General Discussion by Joel G. (190 points)

1 Answer

+1 vote
 
Best answer
Okay I figured this out.  The issue was simply that OnTriggerEnter is not called unless one of the colliding objects is a rigidbody.  Putting a rigidbody component on the reverb zone object fixed the problem.
by Joel G. (190 points)
Adding a note since this got me too and the solution may help someone else - you have to make sure your rigidbody and collider are on the same layer as your reverb zones.
...