• 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
1
Question by herrdubios · Mar 23, 2015 at 01:32 PM · audiodistancevolumelistenersource

Volume rolloff: Distance to listener not changing.

I dont know if its a bug or not, but here is my problem:

Situation:

I have a FPS controller with an audio listener attached

and a moving object with an audio source attached.

Problem:

When the FPS controller isnt moving and the other object is,

the sound-volume is not changing, although the source is moving away.

But when I move the FPS controller it seems like the distance between controller

and moving object is updating.

Also you can see that in the 3d settings of the source:

alt text

(Im using Unity 5.0.0f4)

So is there any whay to solve this?

Thanks

question.jpg (23.1 kB)
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 Mad_Philosopher · Jan 09, 2017 at 01:49 AM 0
Share

Why is there so many posts about this not working and no real solutions? Try spartial blend seems to be the "Hey maybe this will work" but obviously doesn't.

avatar image Mad_Philosopher · Jan 09, 2017 at 08:11 AM 0
Share

This doesn't seem to work in 5.6. No matter how small or large I set values still same volume. If I set Spatial Blend =1, then now audio period. Does the master mixer trump this?

2 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by SergeMos · Apr 09, 2016 at 06:27 AM

try spatial blend

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 lessthanproductive · Nov 11, 2016 at 08:32 AM

You might have another audio listener in the scene (e.g. Default Main Camera)

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.

Welcome to Unity Answers

The best place to ask and answer questions about development with Unity.

To help users navigate the site we have posted a site navigation guide.

If you are a new user to Unity Answers, check out our FAQ for more information.

Make sure to check out our Knowledge Base for commonly asked Unity questions.

If you are a moderator, see our Moderator Guidelines page.

We are making improvements to UA, see the list of changes.



Follow this Question

Answers Answers and Comments

5 People are following this question.

avatar image avatar image avatar image avatar image avatar image

Related Questions

Audio Sources and Listeners low sound volume problem 1 Answer

sound distance between camera and audio source 2 Answers

Music goes crazy on rotating camera? 1 Answer

Inconsistent ReverbZone / AudioSource.volume behavior 2 Answers

Getting Unity to listen to desktop audio 2 Answers

  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges