Audio not working: Not in play mode, not in scene view

This is really odd, since audio is working on other projects. Not sure what could be wrong.

It only works on Editor, if I go and select and play an audio file, it works, but that’s all. No sound can be heard in play mode or in scene view (toggle audio on/off has no effect).

None of the file extensions that I’ve tried work (OGG, WAV, MP3), but they do work on other projects.

There are also no errors displayed in the console. Restarting doesn’t change anything.
It can’t be an external package because I pretty much have the same packages that I have on other projects (even less). The project was created just a few days ago.

It’s a mobile project (Android), using Unity 2021.3.1 on URP.

Does anyone else have this problem too?

We can only guess - did you make sure that the game view is not muted or that AudioSource’s volume isn’t set to 0?

1 Like

Oh, I see lol, I completely forgot about the game view. I was using the device simulator. Yes, it was muted. Not sure when I muted it, but it was. Problem solved I guess?