AudioSource on a prefab not working?

I’m somewhat new to Unity and might be missing something obvious…but:

I have a prefab that is being Instantiated from time to time, and when the spawned object is clicked it is supposed to play a sound:

public AudioClip break1;

void OnMouseDown() {

audio.PlayOneShot(break1);
Debug.Log (“AudioPlayed”);
}

The AudioPlayed shows in console but the audio does not play.
There is an AudioSource attached to the object, the break1 AudioClip has been defined through the inspector(on the prefab). The volume is on max (1). It is a 2D sound. (3D does not work either).

Any ideas on what’s wrong?

That’s only possible if you’ve disabled the AudioListener component. Not sure if you need to assign the clip property of the Audio Source object before playing it. You might give that a try.