[SOLVED] Audio will not play without a user interaction


Ok so instead of autoplaying when the game starts,the audio starts when the user press the game instead??
Is this a bug or was this what this function was made to do?


As designed unfortunately. Most browsers won’t play audio until there is some user interaction. Nothing PlayCanvas can do about that.



My projects also have been affected by it. The only thing I do is put a text that says, “Click to play music.”


Lol I may just add a button to it