Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 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 /
avatar image
22
Question by tyDAman · Jun 14, 2012 at 06:45 PM · audio listener

There are 2 audio listeners in the scene. Please ensure there is always exactly one audio listener in the scene.

What does this mean? I only have my 1st person controller ,terrain,camera.and light in the scene

Comment
Add comment · Show 2
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 bigdaddychez · Mar 21, 2014 at 09:13 PM -1
Share

When i disable the audio listener from the main camera the "two audio listeners" notification disappears, but i get one of those yellow triangles with a " ! " in them that says "the refference script for this behaviour is missing", when i test-play the game. If i enable the audio listener in the main camera then that error disappears and the "two audio listeners" notification is back. I'm using the built-in FPS controller script for my character if that helps any

avatar image peginet bigdaddychez · Apr 02, 2015 at 08:27 AM 0
Share

Remove or disable second main camera

7 Replies

· Add your reply
  • Sort: 
avatar image
62

Answer by Statement · Jun 14, 2012 at 06:55 PM

It means that you have two audio listeners, probably one on each camera. You can only have one audio listener active at any one time. Either you have to enable/disable them as you switch between the cameras or remove one of them.

You can find both audio listeners by typing in AudioListener in the search field above the heirarchy tree view.

Comment
Add comment · Show 8 · 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
avatar image KHIZAR HAYAT · Jan 10, 2014 at 11:39 AM 0
Share

thanx alot. ir solved my issue as well. can you please tell me how to add audiolistener at runtime on camera

avatar image KaffeSumpen · Jun 01, 2016 at 07:32 PM 0
Share

Just what i was looking for, thanks for the info.

avatar image Mousaalfhaily · Apr 26, 2017 at 08:55 AM 0
Share

Thanks for the help :)

avatar image Ryoha · May 12, 2017 at 05:30 PM 0
Share

Waow thanks

avatar image emindonmez · Mar 30, 2018 at 01:42 PM 0
Share

It works for me. Thanks...

Show more comments
avatar image
13

Answer by wall_e · Nov 02, 2013 at 06:21 PM

Click the "Main Camera" from "Hierarchy" panel and remove tick from "Audio listener" component from "Inspector" panel.

Comment
Add comment · Show 2 · 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
avatar image Antigravitybelt · Apr 02, 2015 at 02:35 AM 0
Share

This worked for me, thanks!

avatar image x_P0seid0N_x · Jun 24, 2017 at 07:41 PM 0
Share

Thank you sooo much... you are genius :D

avatar image
2

Answer by NickolasTheGreek · Jun 15, 2012 at 04:13 PM

Delete the camera, the first person controller already has one on it ;)

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
avatar image
0

Answer by Noxury · May 17, 2015 at 08:07 PM

I have also a question about this: I have a splitscreen game with 2 cams; 1 for each player. Now the surroundings of the 2 players have to be mixed into the output, so there must be 2 audiolisteners at both of the cams. How can this be done?

Comment
Add comment · Show 1 · 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
avatar image Statement · May 17, 2015 at 09:49 PM 3
Share

Create a new question ins$$anonymous$$d of asking a question in an answer.

avatar image
0
Wiki

Answer by ShawwalKhan · Nov 07, 2017 at 01:45 PM

Nothing happen how many (Audio Listener) is added in your scene. This is nothing affect on your project. Just check in the (Audio Source) component the sound which you want to playing is added perfectly either this is FPS Controller footsteps sound. Check in the Audio Source component the Volume is set to 1 not to 0. Check any mistake of adding the sound in the Audio Source. Any Mute button is disabled in the Game window box.

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
  • 1
  • 2
  • ›

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

20 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Mute Button 1 Answer

Get spectrum data from specific Audio Mixer? 1 Answer

How can I disable Audio Listener? I've tried it all... 0 Answers

Turn off Priority on a Audio Source 1 Answer

Audio Source Distance Issues 0 Answers


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