Failed to load sound: error code 28

  1. What do you want to achieve?
    A: I want to know what does error code 28 mean and what should I do next to handle this error.

  2. What is the issue?
    A: “Failed to load sound rbxassetid://15817406674: error code 28” comes up when open the studio recently. It worked fine until two or three days ago.

  3. What solutions have you tried so far?
    A: I have restart the studio for a few times and it won’t help. And when I publish the game and play with my phone, this error won’t appear.

2 Likes

I have same problem. Every time I try to play any audio from the toolbox, it doesn’t play and returns this error message instead.

So you can either use Contentprovider or the sound.IsLoaded property, this happens sometimes when there’s lag and the sound doesn’t play

if sound.IsLoaded then -- Sound.IsLoaded example
Sound:Play()
end
local ContentProvider = game:GetService("ContentProvider")
ContentProvider:PreloadAsync({Sound}) -- The parameter requires an array,  if you have multiple sounds you can use this for efficiency.
Sound:Play()

If none of these work then it could be because the SoundId is incorrect.