ContentProvider:ReloadAsset() - Feature Request

As a Roblox developer, it is currently impossible to . . .Reload an Asset when it “Fails to load”

Sometimes Assets may Fail to load in any given game and there is no known way to reload it.


If Roblox is able to address your issue, how would it improve your game and/or your development experience? Please be as specific as possible.

Some Images / Audio or any given Asset that fails to load might be crucial to gameplay…

for example

CBRO - Bomb sound, Defuse sound, Walking sound, all of these Sounds are very important to the gameplay, it creates a huge disadvantage when fail load.


My #1 suggestion is Reload all of the Assets that Failed to load Automatically, because it’s not the Developer’s fault that it failed to load and so I don’t think that we should be the ones to deal with it.


#2 Suggestion

ContentProvider.GetFailedToLoadAsset() – returns a Table of Asset Ids that failed to load

ContentProvider:ReloadAsset() – Reloads all Assets that failed to load

ContentProvider.AssetFailedToLoad – Event that fires when an asset failed to load

So in the code we can do

if #ContentProvider.GetFailedToLoadAsset() < 0 then
    ContentProvider:ReloadAsset()
end

&

ContentProvider.AssetFailedToLoad:Connect(function(AssetId)
    ContentProvider:ReloadAsset()
end

I think we all can agree that this will be a useful feature for all of us.

1 Like

This topic was automatically closed after 3 minutes. New replies are no longer allowed.