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);
… 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…