Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 14 Next capture
2021 2022 2023
2 captures
12 Jun 22 - 14 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
0
Question by andrenav93 · Sep 04, 2018 at 01:58 PM · audiolisteneraudio source

Audio Listener Problem

Hi, I'm using unity version 2018.2.6. The audio sources don't decrease o raise the volume when they get closer o far from the audio listener. And when I click to turn off the main camera audio listener, any audio source set in the scene still playing. Why does this happen? Do I need to use another method to control these two process?

Comment
Add comment
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

5 Replies

· Add your reply
  • Sort: 
avatar image
1

Answer by Bubblehead333 · Jan 26, 2020 at 10:49 AM

Hi,

Have you checked that your Audio Source's 'Spatial Blend' parameter is set to 3D?

This allows the object that is emitting sound to appear louder or quieter when closer or further away to an audio source in 3D space. You can also adjust the distance in the 3D Sound Settings below.alt text

The fact that you can still hear audio when you turn off your main camera audio listener might mean that you have another audio listener in your game. You can search for components attached in your scene by using the Search bar in the Hierarchy menu:

alt text

Simply find the other audio listener (if you have one!) and remove it, or handle it differently.

Bit late to the party, but hope this helps!


audiosourcespatialblend.jpg (31.0 kB)
searchcomponent.jpg (5.7 kB)
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 dan_wipf · Sep 04, 2018 at 04:10 PM

have you got two audiolistener in the scene? there can be just one.

furthermore i’d have a look if your audiosource 3d settings are correct(distance, fallof volume etc).

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 misher · Sep 04, 2018 at 04:54 PM

Activate spacial sound in player settings

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 Lester2350 · Mar 24, 2020 at 08:54 AM 0
Share

What kind of player setting have to do? need help on this.

avatar image Bubblehead333 Lester2350 · Mar 24, 2020 at 06:59 PM 0
Share

http://answers.unity.com/answers/1694091/view.html

avatar image
0

Answer by Miller987 · Sep 29, 2018 at 01:33 PM

krogerfeedback

Blockquote

Hi, I'm using unity version 2018.2.6. The audio sources don't decrease o raise the volume when they get closer o far from the audio listener. And when I click to turn off the main camera audio listener, any audio source set in the scene still playing. Why does this happen? Do I need to use another method to control these two process? Facing the exact same issue, any good solution please?
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 Murray6449 · Sep 27, 2021 at 02:32 PM

Try restarting Unity, this happens to me sometimes. ,The GameObject the AudioSource is attached to has been destroyed. This is also common. If the GameObject the AudioSource has been attached to is destroyed, the Audio would not play. The fix is to attach the AudioSource to GameObject that doesn't destroy. IndigoCard

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

93 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 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 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 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 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

Audio Listener: Get Spectrum Data of only one Audio source without muting others. 0 Answers

SetActive on a different gameObject's component? Audio Source 1 Answer

multiple audio sources playing 2 Answers

Mix/Transition audio at any given moment? 2 Answers

Numerous simultaneous audio clips getting cut off 3 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