Downloading a wav file GetAudioClip returns nothing

Hello

I am trying to play a wav file using w to get the file. Debugging shows that the file is downloaded and content is present in bytes but not in AudioClip
2578155--180073--upload_2016-4-1_6-39-27.png
The wav file is ok. I tested in VLC and in Unity Editor itself by adding it to an audiosource directly.

Only scripting does not work. It looks like WWW does not recognize the file as an audio but as binary only.

  IEnumerator Talk() {
  WWW w = new WWW ("file:///" + Application.persistentDataPath + "/"+"voice.wav");

  yield return w;
  if (w.error == null) {
  audiosrc.clip = w.GetAudioClip(false, false, AudioType.AUDIOQUEUE);
  }
  }

I tried AudioType.AUDIOQUEUE and AudioType.WAV but nothing works.

I am thinking of using AudioClip SetData to set the content of bytes into the AudioClip but I should not need to do that.

Any ideas?

Thanks a lot.

Hm, everything looks correct. Have you given assetbundles a shot?