Search Unity

Bug UnityWebRequestMultimedia.GetAudioClip does not work in WebGL

Discussion in 'Web' started by inkletom, Aug 1, 2020.

  1. inkletom

    inkletom

    Joined:
    Oct 13, 2016
    Posts:
    63
    UnityWebRequestMultimedia.GetAudioClip appears not to work. With OGG files it reports that the format isn't supported (which is surprising, I thought Chrome did support it) and with MP3 it simply doesn't do anything.

    I'd be very interested in knowing if there is ANY way to play externally hosted audio at all in WebGL - we tried loading via Asset Bundles/Addressables, but that didn't work - loading from a URL was our fallback. Not sure what else we can try!

    Ta!
    Tom