Audio not playing

So, uh…
I have this function here…

void EnemyIsDead()
{
    crowdSound.Play();
}

and when the function is called, the audio doesn’t play. I was just trying to find out why the audio wasnt playing, and i accidentally clicked this button
176316-this.png
then the audio played just fine, I then realized the audio only plays whenever the game is paused.

Is there any way to fix this?

did you made an plublic AudioClip in your script and assign it?

Can you share the whole script?