I’m having some issues loading and playing songs. I’m not sure why I’m getting an issue but every single SoundId I have used (over 20) all “Fail to Load” each Sound was uploaded by “Roblox”.
Am I missing something that has changed recently with Sounds? I am using an array of SoundIds and creating new Sound objects, assigning the ID to the object. Not one of them is loading. I have other sound effects in my game that do load so its only happening with these. The new sound objects are being parented to the “SoundService”. I have also tried parenting to the Client Script and GUI directories.
That basically means that:
- A) Your internet is poor
- B) The audio tracks do not exist
Thank you for your reply. I don’t think that is the problem. I obtained the SoundId’s from the ToolBox and was easily able to play them in that context. My internet is pretty decent as well.
Out of curiosity, are you assigning the sound ID with ‘rbxassetid://’ before the sound ID (0123466789 for example) so it should look like rbxassetid://0123456789 and then assigning the sound ID? If you are, then my only suggestion is to try publish the game, keep it private and test on Roblox itself.
To do this, it’d be something like:
local soundObject = <SOUND OBJECT HERE>
soundObject.SoundId = "rbxassetid://" .. <SOUND ARRAY>[INDEX]
Check that print output out if it doesn’t work still.
Yes. lol I just realized this myself. Silly mistake
I’m glad it’s sorted, I’ve done the same thing before, it’s how I knew haha.
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.