Multiple PlayOneShot bug

Hi!
I have this script attached to my main camera:

public class soundCamera : MonoBehaviour {
	public AudioClip shot;
	public AudioSource source;

	public static void shotSound() {
		source.PlayOneShot (shot);
		}
	}

When I need the “shot” sound to play, I can call shotSound() from another script:

soundCamera.shotSound()

It works great until I try to play a lot of sound in a row. Then it just stops playing the AudioClips. If I wait several seconds, it works again.

I want a lot of sound feedback in my game, so I’ll have to fix this issue.

Thanks in advance!

I çhanged the compression to uncompressed, and it now works :slight_smile: