Audio clips in WebGL asset bundles can have an invalid compression for WebGL platform

We have all our audio clips set to Vorbis compression format. No platform overrides are set.

We built WebGL asset bundles and when sounds are played from these asset bundles, we get an error, “Unsupported file or audio format”.

I think it is because we didn’t set the WebGL platform override to use AAC compression (the only supported compression on WebGL). I’m assuming that it used the Vorbis compression format for these clips.

When building asset bundles for WebGL, Unity should be smart enough to change the compression format to AAC since that’s the only supported format. Or, offer a “Compressed” format, which just chooses 1 of the supported compression formats per platform.

This sounds like a bug. Could you file a bug report with a repro case?

Done. bug # 709020. Thanks Jonas!