Hello,
I have read several topics about this subject but unfortunately even doing what they recommended I got no results. Means, when the player walks away from the audio generation source, the audio clip volume does not go down to zero as expected (I hear the sound kms away still, not so loud but still possible to hear).
Spatial blend set to 1 (3D).
I tried all rolloffs setups,
Logarithm as per pic below, from 1 to 5 (to try - but I could hear the sound at position 20 for example)
Linear and also Custom, always setting up the minimum distance to 0.1 or 1 or 2… max distance to 5 or 10… but at the end, always listening when at position 20, 30, 50… etc
Anyone has any idea about what’s going on here?
** I am playing the audio source as: gunShot.Play();
** Also tried: AudioSource.PlayClipAtPoint() and the results were the same…
1 Like
Based on your screenshot it looks like your 3d sounds settings curve only drops down to about .2 or so. If you want the sound to be completely silent at some point it needs to drop down to 0, right? Check out the curves in the docs, which all go to zero at some point: Unity - Manual: Audio Source
Hi PraetorBlue - thx for the feedback.
I did this setup you mentioned on the Linear and Logarithm options.
Unfortunately, on both cases, when I bring it to zero, the sound does not even run.
Hey yo! figured out!
I noted the Listener was a bit in a awkward position in the chart… perhaps justifying the no sound condition I mentioned above. Hence, first, I adjusted the curve to zero and then, by adjusting the max distance to 20, the Listener automatically moved to somewhere around 11, per pic below. Which is quite weird for me still but worked 
On a side note: By default the logarithmic rolloff is set to only go to about 0.3 instead of zero when at max distance
It makes no sense as 99.99% of use cases will want the max distance to be zero.
2 Likes
Really?
It looks pretty zero-ish to me… Unity2021.3.17f1
I spot-checked Unity5.6.6f2 and Unity2018.4.19f1 and they are all zero by default.

If you change the max distance (which everyone will do) it does not scale.
Sorry I should have clarified this.
5 Likes