Audiokinetic의 커뮤니티 Q&A는 사용자가 Wwise와 Strata 커뮤니티 내에서 서로 질문과 답변을 하는 포럼입니다. Audiokinetic의 기술 지원팀에게 문의하고 싶으신 경우 지원 티켓 페이지를 사용해주세요.

Problem with audio listener in unity.

0 투표
Hello everyone,

I'm a very beginner with unity and Wwise. I start watching some online course to make me an idea of how this world works.
I'm watching now the wwise course on unity website (that seems really good), but I have a problem with the audio listener.
I integrated Wwise in the unity project, created an empty object with AK Bank with my soundbank and everything works well.
I disabled unity audio in the audio manager, but the problem persist with the message "There are no audio listeners in the scene. Please ensure there is always one audio listener in the scene",
With the only difference that now it's just a single message each time I play the game, before was continuos new messages.
I tried everything that i could try with my experience in the program. Someone can help me to understand which the problem is?

 

Thanks in advance
문의 2021 2월 11 General Discussion Marco P. (100 포인트) 로 부터

1 답변

0 투표

Hi Marco,

Did you add an AkAudioListener to something in your game, like the Main Camera? 
If that doesn't work, check your Wwise Settings for the "Automatically add a listener to the main camera". This will ensure that a listener is added whenever you create a new scene. 

Let me know if it works.

답변 2021 2월 12 Mads Maretty S. (Audiokinetic) (39,400 포인트) 로 부터
Hi Mads,

Thanks for the answer.

Yes I have the AkAudioListener on the main camera and the box on "automatically add a listener to main camera" is already checked. Today I'll try to see if in another project give me the same problem, because is the first one for me and I downloaded it from unity official site.
...