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.

Unity Integration - Game defined aux issues

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.
asked Dec 9, 2013 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.
answered Dec 10, 2013 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.
...