- Home /
Background Music
I would like to create a playlist of possible background music for my game. What this will do is choose a song at random and play it softly in the background. When the song ends it will choose another and play it, ect...
Problems I have with sound: When I make an audio source in the game and set its "Rolloff Factor" to 0 so that it can be heard from anywhere, whenever I move my camera, the sound glitches and sounds very distorted until I stop moving the camera. Does anyone know what is causing this and how I can fix it?
See also question how to put a background music on a scene?
Answer by Eric5h5 · Sep 06, 2010 at 06:18 AM
Just turn off 3D audio for the music files; you don't have to mess around with the doppler or rolloff factors.
This totally slipped my $$anonymous$$d when answering. I've updated my question to remove the 'wrong'. Thanks.
Your answer
![](https://koobas.hobune.stream/wayback/20220613072742im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Some audio does not play on Windows build but works perfectly in editor and on Mac 1 Answer
[NoBraves] Sound makes lag 1 Answer
Audio issue - Trying Waitforseconds 0 Answers
Audio not playing! 0 Answers
Can't play any sounds. What's wrong? 1 Answer