Audio is loaded on Roblox studio, but not in game

I’m trying to load a sound when the user press “Start” and then waits for it to be loaded. But for some unknown reason the song doesn’t want to load at all on the game BUT works on Roblox Studio (Meaning I already gave it access etc)

So far I’m unable to find solution for this because there is no error shown on both game log and error reports. I thought about setting up a timeout and cancel out the wait but seeing how the song doesn’t load all the time it gets pretty frustrating.

Partial code I used.

	music.SoundId = currentchart["song"]
	music.Loaded:Wait()

I wanted to know if there’s a solution for this. Help will be greatly appreciated

1 Like

are you sure you are handling the audio correctly? maybe you could send me more of the script to take a closer look?

To start, make sure your game has been published. After that, try adding print statements in your script to check if the sound is playing. Print messages when the sound starts playing and also check if it’s currently playing. This method might seem a bit unusual, especially if the sound plays correctly in Studio, but it’s a useful way to verify playback in the live game.

1 Like