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

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.