Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
  • Help Room /
avatar image
0
Question by Patchbristol · Jan 13, 2016 at 12:49 PM · script.integrationfootsteps

How to implement sets of footsteps made in Wwise into Unity

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

Comment
Add comment · Show 3
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Patchbristol · Jan 12, 2016 at 05:23 PM 0
Share

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 is the total footstep part of the First Person Controller Script.

  • -

(I can't add photos for some reason, and when I copy and paste, it doesn't come out right. I'll try again later)

avatar image Patchbristol Patchbristol · Jan 12, 2016 at 05:38 PM 0
Share

Still can't add a picture. Here it is hosted online: http://postimg.org/image/zeyk3g2r5/

avatar image Patchbristol Patchbristol · Jan 12, 2016 at 05:43 PM 0
Share

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/

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by PierreMarieBlind · Feb 10, 2016 at 05:40 PM

Hi, I had the same problem (absolute beginner here...).

  • Check you have refreshed your soundbank in Wwise by generating it once again.

  • Don't forget to integrate the actual soundbank in unity

  • Also, in Unity, you have to move the script "FirstPersonController" outside of the standard assets folder Place it anywhere in the project folder or create a new folder called Scripts where you would put all your scripts.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

4 People are following this question.

avatar image avatar image avatar image avatar image

Related Questions

unit Test using Jenkins and NUnit 0 Answers

How to get Wwise switch containers triggering footsteps properly in Unity 0 Answers

Animation Event Audio Clip not working! 1 Answer

Monodevelop StyleCop integration 0 Answers

Game crashes with Chartboost SDK 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges