So what happened is, I’m using a Music Request kind of thing for my game. The player buys a developer product, and once that’s dealt with, they are given a separate UI into which they can input a song ID that they want to be played.
Now, only one song can be played at a time. If another player actually tries buying the DevProduct, it tells the person that a song is already playing.
My problem isn’t this, I’ve managed everything. But, I have literally no idea on how to fix the “Failed to download sound data” errors. MarketPlaceService:GetProductInfo() actually returns a true value, which means the sound exists, but its failing to download the sound data.
This isn’t a very big issue, but sometimes it feels kind of stupid hearing to nothing when someone requests a song. The timelength doesn’t get loaded, so does it mean the song is stuck on Playing = true forever?
I’ve also tried pcalls, but to no avail. Please help me out on how to handle these type of errors, thanks!
try to put in your services script or where you add the music to the table the famous “if not sound.IsLoaded then” this will help you in case you added an accidental id and played it but at some point it didn’t work it will remove it from the table and continue with the next song on the list