[SOLVED] Audio will not play without a user interaction


#1

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?


#2

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


#3

#4

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


#5

Lol I may just add a button to it