Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

Resolved Can still hear audio from source when its outside the max distance

Discussion in 'Audio & Video' started by bluepilkintonching, Jan 18, 2023.

  1. bluepilkintonching

    bluepilkintonching

    Joined:
    Nov 29, 2019
    Posts:
    30
    I have set the spatial blend from 0 to 1 (3d). The minimum distance is 0, max is something small like 3. The volume doesn't seem to change no matter what distance the sound is from the player. But I can hear the direction it's coming from in my surround sound headset working properly. I have tried logarithmic falloff, custom, and linear falloff. Both custom and linear falloff seem to give me no volume at all.

    Thanks!
     
  2. bluepilkintonching

    bluepilkintonching

    Joined:
    Nov 29, 2019
    Posts:
    30
    I found the issue, the audio listener was on the Camera witch was 10 Z units away from where the sound was meant to be heard from. (My game is XY 2d)