I stumbled on this specific issue and this thread comes up when searching for that problem. There is a weird solution for that (working on Unity 2019.2.21f1). Use the type
AudioType.AUDIOQUEUE
instead of
AudioType.OGGVORBIS
… and it just works.
If someone can explain why it works, i’m curious to know.
I was encountering this issue as well. Our game was previously built using 2019.4.18f1 and we had no issue of downloading .ogg audio files. I just encountered the same issue when we upgraded to 2020.3.15f2 and built our game. After successfully downloading the audio, the error would pop out. This only occurs for downloaded .ogg audios and not with .ogg audios that was imported and built in the project.
I tried your solution using AudioType.AUDIOQUEUE and it worked. I guess AUDIOQUEUE supports AAC which widely browser supported as per Unity’s documentation. But that’s just a guess.
Though if I were to test it on the editor (Windows Standalone or WebGL platform), it would throw an error: Error: Cannot create FMOD::Sound instance for clip "" (FMOD error: Unsupported file or audio format. )