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
I imported Wwise into a project of mine, assuming things would go smoothly like last time. There's an AkInitializer and an AkBank in the scene. When pressing 'play' the console says Wwise has successfully been initialized. There is a default listener on the main camera in the scene. Yet, when I play a sound, I get the warning: "Editor Listener isn't initialized. No sound will be heard." Given this issue does not appear anywhere online, I tried my own troubleshooting steps -- soundbank regeneration, editor restart, full reimport... nothing.
in General Discussion by Ryan G. (100 points)
I tracked the issue to "AkSoundEngineController.OnEnableEditorListener()" at line 290:

- if (IsPlayingOrIsNotInitialized || editorListenerGameObject != null)
-     return;

Because "UnityEngine.Application.isPlaying" is true, the Editor Listener does not get initialized. Is this the intended behavior? If so, why does it cause issues only for me?

1 Answer

0 votes
Did you play sound via the play button of the AkAmbient component which just only executes under the editor mode?
by Steven Z. (140 points)
...