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
Hello everyone! Working on a game on which i try to implement wwise on! Trying to play an Ak Event for a Ui Sound when the Mouse is OVER a button! I tried to add a Ak Event Trigger on: AkTriggerMouseEnter" but it doesnt seems to work!
When i activate the Profiler into Wwise while being remotely connected to the game nothing shows up

Do you have an idea of how to deal with playing a sound in Ui OVER a button ?

Thanks in advance
in General Discussion by Angel I. (130 points)

1 Answer

0 votes
Hey Angel,

If it's not showing up in your Profiler, then I'd suspect it's not getting called from Unity.

Did you try this with a new scene and just 1x game object with a collider? I'm asking, cause other game objects might "block" the gameobject you've attached the AkEvent to, even if the Mesh Renderer is not visible. The "AkTriggerMouseEnter" function is using the OnMouseEnter() function, that you can read more about here - https://docs.unity3d.com/ScriptReference/MonoBehaviour.OnMouseEnter.html

Let us know if this helps :)
by Mads Maretty S. (Audiokinetic) (39.8k points)
...