Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

WWW GetAudioClip throws Decode Error

Discussion in 'WebGL' started by Ahmio, May 5, 2015.

  1. Ahmio

    Ahmio

    Joined:
    Mar 16, 2014
    Posts:
    7
    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.
     
  2. jonas-echterhoff

    jonas-echterhoff

    Unity Technologies

    Joined:
    Aug 18, 2005
    Posts:
    1,666
  3. Ahmio

    Ahmio

    Joined:
    Mar 16, 2014
    Posts:
    7
    It's a .wav file, but i'm not sure it's PCM. I'll try .ogg and see if that helps.
    Thanks!