menu
 

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.

+2 votes
Hi guys!
I'm trying to stop a music event (battle music), when my boss dies. I could use a RTCP but for some reasons (which it would be too long to explain) I've used an event to trigger the battle_music to play. That worked, but I'm having problem to stop that music. I've created a battle_ music stop_event which it would be triggered by the boss_death event, but in the game the music doesn't stop. Any idea?

I can add screenshots if that's not clear.
in General Discussion by Patrizio T. (120 points)

3 Answers

0 votes
Hi! Not a real answer, sorry, but I have the same exact problem in the Limbo session demo.

Two separate events showld:
1) start the first track
2) stop the previous track and start the second one

In the soundcaster session everything works fine, but in game the first track won't stop.

Also, in profiling the two events everything seems ok when it clearly isn't. Have you found any solutions?
I will write here if I find a solution.

Have a nice day!
by Pietro F. (150 points)
Hey I solved the problem! I am a noob since I started recently, so I don't really know what I did... In the event editor on the right, under the  "Scope" menu I set it to "global" instead of "game object". Now the music stops as planned.
Hi Pietro, I didn't find a way to fix it. I'm not really sure what is going on with event called by Unity. It must something related to it.

I've used an RTCP to switch the music, in the end.

Still, it'd be great to know why that wasn't working.
You're a legend. I have been struggling stopping events for hours and hours. And changing to global instantly fixed my problems. Man, I was getting suicidal about this
0 votes
Hello, make sure that your stop and play events are posted on the same game object. Alternatively, you can set the stop event scope to "Global" instead of "Game Object" in event editor in your Wwise project.
by Radek Karnik (990 points)
0 votes
You could use a transition segment to play an exit cue? Also, ensure your Transitions are ticked to what you want to happen, e.g. Exit the cue at the next beat / bar, not at the end of the music cue, which is what sounds like is happening. It's the top tick box, when setting up transitions. you can also set fade-ins/outs here as well.
by Christina S. (140 points)
...