Community Q&A

Welcome to Audiokinetic’s community-driven Q&A forum. This is the place where Wwise and Strata users help each other out. For direct help from our team, please use the Support Tickets page. To report a bug, use the Bug Report option in the Audiokinetic Launcher. (Note that Bug Reports submitted to the Q&A forum will be rejected. Using our dedicated Bug Report system ensures your report is seen by the right people and has the best chance of being fixed.)

To get the best answers quickly, follow these tips when posting a question:

  • Be Specific: What are you trying to achieve, or what specific issue are you running into?
  • Include Key Details: Include details like your Wwise and game engine versions, operating system, etc.
  • Explain What You've Tried: Let others know what troubleshooting steps you've already taken.
  • Focus on the Facts: Describe the technical facts of your issue. Focusing on the problem helps others find a solution quickly.

0 votes

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.

in General Discussion by Patrick Y. (130 points)

1 Answer

0 votes
 
Best answer
Hi Patrick

I usually see errors like that when the appropriate sound bank has not been loaded.
by Richard Goulet (5.8k points)
selected by Benoit S. (Audiokinetic)
...