Sounds not Playing

Hi,

I’m having a problem with sounds.
I have quite a large number os sounds playing,and as such i think this is the reason of having my console full of " AL_INVALID_VALUE " even when the sound exists, or may be the reason why sounds stop playing randomly.
What’s the best way to avoid this ?
I tryed doing it this way :

if (!audio.isPlaying) audio.PlayOneShot(missile_audio);

But still gives me the same problem.
thanks,

Bruno

Can you post the settings you are using for your AudioListener (component on the camera)?

What audio listener settings ?
As far as i can see audio listeners have no settings

… looking at the date of this post, I guess this problem was solved?

But in case anyone else arrives here following a search for “AL_INVALID_VALUE” related to playing a sound, like I did - try checking that you have not set the AudioSource’s Volume or MaxVolume above 1 in the inspector.

Especially not liked after an upgrade to SnowLeopard it appears…

Hope this helps?