- Home /
The question is answered, right answer was accepted
Can't change AudioClip to 3D Sound
In unity 4 there was a 3D sound checkbox that I could tick. I updated to Unity 5 but don't see that option. I have a sound that is playing everywhere but I don't see any options to tick as a 3D sound? Is that still available or do I have to manipulate the sound level through a script(I really don't want to do this).
Answer by wesleywh · Mar 29, 2015 at 09:57 PM
I know someone is going to have the same problem that I did for a little bit here when switching over to Unity 5. So here you go people I figured it out. Every single audio source you can decide if the audio coming from that source is a 2D or 3D sound. There is a "Spatial Blend" attributed that decides how much this sound will be affected by 3D space. I have added this picture for your reference.
I set my spatial blend to 1 but it still can be heard from far away, even when I have my $$anonymous$$ and max distance set correctly. I have other audio sources in the scene and the 3D sound is working on those, but this new one can be heard right off the bat in play mode, and then after it plays through once the 3D sound starts to work... Any ideas?
Check your 3D sound settings. The default is super huge. That might be whats going on. Your logarithmic rolloff (cut off in the picture above) is probably like 500. Change that to something smaller like 50 or for a test 1. Then try again. Also check its placement, make sure it isn't attached to your player.
Follow this Question
Related Questions
Unity plays only a few gameobject's sound 2 Answers
Music skips when playing sound effects 2 Answers
Some AudioClips not playing in build 1 Answer
SFX fade out and then fade back in? 0 Answers