AudioClip.GetData not working in WegGL Build.
AudioClip.GetData works perfectly for me in the editor and in the Windows/Mac build, but I get this error in the WebGL build, "Cannot get data on compressed samples. Changing the load type to DecompressOnLoad on the AudioClip will fix this." However, my audio setting is set to "Decompress on Load" and the issue still occurs. I know WebGL has certain audio limitations, but the documentation says that AudioClip is supported.
Any help would be greatly appreciated! Thanks so much!
Answer by DrJBN · Jan 26 at 07:23 PM
I just hit the same damned error on 2021.1.7.f1. Works in the editor, not in the build.
Your answer
Follow this Question
Related Questions
Loading external mp3 on webGL 1 Answer
audio import errors in webGL 1 Answer
Pick Up Sound 0 Answers
Take 2: Audio silent in Play Mode. 0 Answers
Audio won't play correctly? 0 Answers