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.

Unity crashes after turning off play mode and pausing the game (bug)

+1 vote

Hi, we just began to include Wwise in our Unity project and noticed a bug.

Here's how to reproduce it (Unity 2017.1 and Unity 2017.3 do the same thing):

  1. Create an empty Unity project and an empty Wwise project.
  2. Follow the beginner's tutorial with a single sound: https://www.audiokinetic.com/library/edge/?source=Unity&id=pg__installation.html
  3. Open Unity
  4. Press Pause
  5. Press Play to enter the Play mode. This starts a PAUSED game
  6. Press Play again to stop Play mode. Unity now freezes.

The problem is that when pressing Pause, the audio thread is suspended (Unity log says: Wwise: Audio thread suspended.  Audio output will be silent.), but the game cannot initialize properly when pressing Play with a suspended audio thread.

We narrowed it down to AkSoundEngineController.OnEditorPlaymodeStateChanged() for Unity 2017.1 and AkSoundEngineController.OnPauseStateChanged() for Unity 2017.3.

 

We're using Wwise 2017.2.0.6500 and Wwise Integration 2017.2.0.6500.947

 

Please fix this, since it's making project debugging a headache.

Thank you.

asked Jan 22, 2018 in General Discussion by Michal F. (110 points)

Please sign-in or register to answer this question.

...