- Home /
Why can't I hear my audio?
I am attempting to add music to my game and after being annoyed with scripts not working, I just dragged my audio clip onto on an object in my game. I still cant hear my audio when I play the game in the editor or in the actual game. Can anyone help me get the sound to work?
Try placing the camera or may be you are having a bugged version of software
Answer by DJSwiti · Apr 22, 2012 at 07:06 PM
I had the same problem 10 minutes ago. Close all programs that use your soundcard (Audacity, Cubase, FL Studio.....) Save your scene, close and reopen Unity.
If still no sounds type in CMD : services.msc then check for "Audio Windows" or "Windows Audio" -> Right click -> Restart the service.
Ya actually it randomly just started working, probably because I just closed out then went back in
I just had this problem and this comment helped: "C$$anonymous$$D : services.msc then check for "Audio Windows" or "Windows Audio" -> Right click -> Restart the service."
Answer by Momcat · Oct 30, 2018 at 09:10 PM
For anyone as NOOB as I am ….
there's a teeny tiny button on the top bar of the Game view called "Mute Audio." Make sure that's not depressed. :-D
Answer by aldonaletto · Apr 22, 2012 at 07:34 PM
You need an AudioSource to play the sound. If the music is a sound track, click the sound and uncheck the field 3D - this makes it a 2D sound, which plays independently of position. You can select any scene object (the camera, for instance) and click Component/Audio/AudioSource to add an AudioSource to it. Set the field Clip to the audio clip you want to play, and check Loop and Play On Awake - with these settings, the music starts playing when the game begins and loops forever, and no script is needed.
I was having this problem with a sound for use in a GUI. Aldonaletto's point of making sure that the sound was not checked as a 3d sound resolved my issue. Simple oversight, but hard to track down in your code. (since that is not where the issue is)
Answer by oinkoinkflapflap · Sep 08, 2012 at 08:48 PM
this may sound like a stupid answer but are you sure if it's just on an object it's too far to hear? try placing it on the camera
Answer by Sopqos · May 12 at 12:26 PM
If you are reading this while having your Quest 2 connected, that's why the sound is not playing on your computer, lost one hour debugging this...
Your answer
Follow this Question
Related Questions
audio change object size 1 Answer
Trigger audio loop on beat with PlayScheduled 1 Answer
Audio controls disabled??! 0 Answers
Unmuted sounds playing off-beat 0 Answers
Calculating rhythm of any music? 3 Answers