Hi,
I can’t load audio clips via the WWW class on WebGL. All I get is a message saying “Decode Error” in the web console. This is on Firefox, windows 8.
This works perfectly on desktop and in editor.
Hi,
I can’t load audio clips via the WWW class on WebGL. All I get is a message saying “Decode Error” in the web console. This is on Firefox, windows 8.
This works perfectly on desktop and in editor.
What format is the audio clip? To load audio clips in WebGL using WWW.audioClip, you need to make sure that the browser supports the requested audio format.
See here for a table of browser support of audio formats:
It’s a .wav file, but i’m not sure it’s PCM. I’ll try .ogg and see if that helps.
Thanks!