Community Q&A

Where Wwise users help each other out!

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

Event Triggering Twice in Unity

0 votes
Hello! I'm working on a game in Unity at the moment and I'm having a bit of an issue with triggering an event in-game. We just implemented Wwise into the unity session so I've added a basic "play on start" event to trigger when you play the game as a test. Right now, Unity is sending the event call twice to Wwise and it's playing the event on top of itself.

Things I've done:

Checked in Wwise soundcaster for functionality - No problem, event triggers once and can't overlap itself because of a "Stop All" function in the event.

Hooked Unity up to the Wwise profiler - profiler shows that Unity is sending the event call twice, however it's just the standard Wwise event component that is being used so I would find it odd that it would send it twice.

Troubleshooted by making a new custom script to call that event on start. Put into an if statement so that it cannot re-trigger if the Event has already triggered once. (using a true / false condition)

 

 

any and all help would be appreciated!
asked Sep 4, 2018 in General Discussion by Ryan G. (100 points)

1 Answer

0 votes
I'm having exactly the same problem in Unreal.  Did you find a solution?
answered Mar 11 by Donovan S. (180 points)
...