This issue appeared out of nowhere, it used to work but now audio is only played for a split second when I enter or leave playmode. I haven’t even done anything directly related to audio lately.
I tried creating a new scene as a test, and the sound works there perfectly.
It’s like something stops all of the audio sources in its Start() function but I can’t for the life of me think of what it could possibly be (I haven’t coded anything like that lately myself).
I checked the audio mixer and confirmed there is an active/enabled Audio Listener on the scene, before you ask.
EDIT: just tested it in build, it worked. So the problem is only present in editor.
Thanks