How do I correctly use preloadasync to load all my sound assets? Currently half the sounds seem to never get loaded and its random everytime the isloaded bool never turns to true even after running it and waiting.
Is there any way to make sure every sound gets loaded? This isnt a issue with asset permissions since sometimes they load and sometimes they don’t.
Previously I did
ContentProvider:PreloadAsync(Sounds:GetChildren())
But it wasn’t working so now Im running a loop which seems to work better but assets still fail to be loaded completely
for index, asset in ipairs(Sounds:GetChildren()) do
task.spawn(function()
ContentProvider:PreloadAsync({asset})
task.wait()
end)
end