Audio files not loading?

Some of my audio files are loading and others are not. There seems to be no pattern here. I keep getting errors like this:

Failed to load sound rbxasset://sounds/swoosh.wav: Unable to download sound data

I read that many people were having this problem last year, but the hope was that Roblox would fix it. Have they not fixed this yet? Or am I doing something wrong?

I have the files in the SoundService folder and am calling them with a local script. Thoughts on audio problems?

1 Like

What is the parent of the Local Script? Also, what does it contain?

It is parented to StarterPlayerScripts. Here is the code:


local SoundService = game:GetService(“SoundService”)

local alarm = SoundService:WaitForChild(“Alarm”)

local track1 = SoundService:WaitForChild(“Song1”)

local track2 = SoundService:WaitForChild(“Song2”)

local intro = SoundService:WaitForChild(“arrival”)

local ReplicatedStorage = game:GetService(“ReplicatedStorage”)

local event = game:GetService(“ReplicatedStorage”):WaitForChild(“Crew”)

local crew1 = SoundService:WaitForChild(“C1”)

local crew2 = SoundService:WaitForChild(“C2”)

local crew3 = SoundService:WaitForChild(“C3”)

local crew4 = SoundService:WaitForChild(“C4”)

local crew5 = SoundService:WaitForChild(“C5”)

local crew6 = SoundService:WaitForChild(“C6”)

local crew7 = SoundService:WaitForChild(“C7”)

local crew8 = SoundService:WaitForChild(“C8”)

local crew9 = SoundService:WaitForChild(“C9”)

local complaints = {crew1,crew2,crew3,crew4,crew5,crew6,crew7,crew8,crew9}

intro:Play()

intro.Ended:wait(1)

local function backgroundmusic()

track1:Play()

track1.Ended:wait(1)

track2:Play()

track2.Ended:wait(1)

backgroundmusic()

end

local function CrewComplaints()

while true do

local value = math.random(1,#complaints)

local value2 = math.random(60,120)

local track = complaints[value]

wait(value2)

track:Play()

wait(5)

end

end

backgroundmusic()

CrewComplaints()

The audio file was most likely removed from roblox maybe due to copyright or something else or maybe the audio file just corrupted but there’s not really a way to fix this. You would just have to find a new sound to replace it.

2 Likes

I find the file. Just replace swoosh.wav by rbxassetid://12222200