- Home /
Question by
ibby_muk · Sep 21, 2020 at 07:47 PM ·
audiowebglerror message
Game audio not working in build but working in editor
hi.
when i play my game in the editor the game plays the audio that want. however when i press build and play the build ( i am using a webGl build ) the game does not play the audio.
However when i play the game in the unity editor the game does play the audio correctly
I am also getting an error in the inspector :
unknown platform passed to audioimporter.getoverridesamplesettings (wsa), please use one of 'web', 'standalone', 'ios', 'android', 'webgl', 'ps4', 'xboxone' or 'wsa' unityeditor.editorapplication:internal_callglobaleventhandler ()
thank you for helping :)
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220613012311im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
UnityWebRequestMultimedia.GetAudioClip dont't work in WebGL build (2019.3.15f1). 1 Answer
Building WebGL compiles but when I open the webpage I get error occured of abort(-1) 0 Answers
Single AudioSource "Ran out of virtual channels" WebGL 0 Answers
WebGL - Streaming of 'ogg' on this platform is not supported 1 Answer
Audio in WEBGL on IOS devices -1 Answers