Can't change volume of an audio source

Hello,
I’ve got a problem - my Audio Source’s volume is set to 1 all the time. When I put it into a scene I can hear it everywhere on the map (I changed in to 3D ofc), no matter what I put in Volume it remains the same and mute option doesn’t work at all. I tried following multiple online guide 1:1 and still got that problem, do you have any suggestions what I should do?

Managed to identify part of the issue - audio source works correctly but for some reason another instance os the sound plays in the background and is not affected by any settings. Even if I remove it from the audio source it still plays until I remove it entirely. I can’t really see why

Fixed, there was something bugged with the file name. I don’t know what but renaming it did the trick

1 Like

omg you are a life saver, i just came here to thank you cuz it really worked, thanks for telling the solution after you figured it out

private IEnumerator ISetVolume(float Volume)
{
//Unity can’t change volume of Audio Source Component instantly with no reason!
yield return null;
m_source.volume = Volume;
}

1 Like