No Audio

I have a pretty good understanding of unity and scripting within it. I start a new project and place an audio source on the main camera. Then Tell it to play when Awake and to loop. It is an mp3 song for a background. The song plays in Itunes and in quicktime - no issues there. No sound in unity. I changed the file out for another other song I have… same deal, no sound. So I downloaded a small wave sound effect just to see. Same thing. No sound. Does anyone know what is going on?

I have unity 2.5 - Before I upgraded I had not prior issues?

Hi,
This sure sounds odd. Does the sound play in the inspector (preview)? And have you checked that the volume, max volume and pitch parameters on the source is 1. You could read out the AudioListener.volume from a script to check if it is 1 as well. If this doesnt lead you to a solution, please report this as a bug (Help->Report Problem) and attach the project and please put in the platform (win vista/xp/mac osx) and your sound card driver version, product and vendor-name.

regards,

Actually It does not play in preview… I have tried over 15 different sound files and types. from .wav to .mp3.

All the volumes and pitch etc. are at default position.

I would like to add that the problem fixed itself by restarting unity. Maybe this is a weird bug within the engine?

If you’re able to get a reproducible case on this no-sound-playing issue, please do report a bug (using Help->Report a Problem) and attach your project folder along with some steps to reproduce the issue. We’ll investigate and do our best to fix it!

Hey, seems like the problem still persists 4 years later. I have unity 3.5.6 indie + iOS running in Mac OSX 10.7.5.

No sound at all, not in the preview, not in unity remote and not in the device. Somebody Help!

I had the exact same issue. Finally fixed it by de-selecting 3D sound option.