menu
 

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

0 투표

Hi there, I was wondering if you can help me implement footsteps from Wwise into Unity. I am a Game Audio design student and I have a project deadline approaching.

I have followed the official Wwise tutorials from scratch on how to make random containers, nested inside switch containers etc. In Wwise all of the concrete and dirt and gravel footsteps play as they should. So now I've moved on to the integration with Unity. I've followed all the steps and have a functioning wwise integration that I have tested successfully with simple event calls. The trouble I'm having is in getting the FPC to play the various switch containers when I walk into the box colliders. For the box colliders, I have the Sk Switch, with my chosen footstep material, and have ticked 'use other object'.

For the first person controller script. I have deleted the section where it calls for the unity engine to execute the step sounds as instructed in this tutorial:https://www.youtube.com/watch?v=O_ZgQwqOll8 - and again as instructed added this line of code: AkSoundEngine.PostEvent("Footstep", gameObject);

I've moved the first person controller script to the Wwise folder containing among other things the Wwise Switches folder, Events folder, Actor-Mixer Hierarchy etc. I get no build errors on the script and the game plays with no compiler errors. but unfortunately still no footstep sounds are played when I walk into my box collider.

Can you think of something I might have missed?

ps, I'm not an audio programmer.

Thanks a lot for your help.

Patrick

 

pps, I should add, I didn't delete the entire part of the First Person Script relating to footsteps. Only the part mentioned in the video tutorial. Here it is hosted online: http://postimg.org/image/zeyk3g2r5/

I should also add that whilst the game does play, there are 2 warnings relating to Wwise. 'Event ID not found', and 'Failed posting event'

Here is the screenshot: http://postimg.org/image/4m9m4ljaz/

 

Thank You.

General Discussion Patrick Y. (130 포인트) 로 부터

1 답변

0 투표
 
우수 답변
Hi Patrick

I usually see errors like that when the appropriate sound bank has not been loaded.
Richard Goulet (5.8k 포인트) 로 부터
선택됨 Benoit S. (Audiokinetic) 로 부터
...