Unity wont play audio in editor, but will when the game is built.

As the title says, Unity won’t play any audio in the editor, however, it will when the game is built. The Unity editor is not muted and I have toggled the sound on in the scene and game views.

Even though it’s not a problem for the finished game, I would like the audio to work so that I can efficiently debug some other audio problems that I have.

Im suprised that not so many knows about this. but at the top right corner of the game window inside the editor there is a " Mute" button. Make sure that you havent clicked on that one.

I think it is too late for answer it if you r using windows operating system the Right-Click on volume button and open audio mixer. you will see volume will be disabled for unity editor. enable that button.

Embarrassing, but that was it.

thanks lot man