Hi, my game have an intro that plays in sync with a music, but the music always start playing before the game finished loading.
Is there a way to prevent this ?
Hi, my game have an intro that plays in sync with a music, but the music always start playing before the game finished loading.
Is there a way to prevent this ?
Your audio source may have its “Play On Awake” option to true. I think you can either untick it and then play the sound manually from script when games started, or simply disable the component for loading time and then enable it when game starts, which will call the OnAwake function, running the music at the right moment. I think this will solve the problem.