Search Unity

Bug All methods of playing externally hosted audio are broken on 2020.2.0a

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

  1. inkletom

    inkletom

    Joined:
    Oct 13, 2016
    Posts:
    63
    Followup to https://forum.unity.com/threads/uni...a-getaudioclip-does-not-work-in-webgl.943634/

    2020.1 and under all work, this seems an alpha bug.

    I've now tried all the methods I could think of to get any audio to play when hosted externally - loading via:
    • Addressables (asset bundles)
    • UnityWebRequestMultimedia (works in 2020.1 and under)
    • WWW (depreciated, but also not working on 2020.2.0a)
    • Creating an audioclip from the raw data

    I've tried WAV, OGG, MP3, MP2, M4A and OPUS.

    Only OGG leads to an explicit error message (in both Chrome and the editor) - the others appear to load correctly (and DO work in editor), but simply don't play in Chrome.