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 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.

...