Search Unity

Audio WebGL AudioClip.GetData() &SetData() not working !

Discussion in 'Audio & Video' started by Ryukidmm, Oct 18, 2019.

  1. Ryukidmm

    Ryukidmm

    Joined:
    Aug 14, 2018
    Posts:
    6
    dpersson9 and Psyco92 like this.
  2. Psyco92

    Psyco92

    Joined:
    Nov 15, 2013
    Posts:
    22
    Same in 2020.
    Why is audio in wegl a global poo storm ?!?!
     
  3. FrostweepGames

    FrostweepGames

    Joined:
    Jan 2, 2015
    Posts:
    264
    Same in 2021, and this problem is here.

    the workaround I see is to export audio clip file as samples array to file, and create an AudioClip at runtime. I have an experience with creating AudioClip's in WebGL and it works(if it possible to say, haha) but it very limited there. so perhpas it will help somehow someone.