PreloadASync isn't loading image

For some reason, PreloadASync just doesn’t load at all. The image shown in the video changes, but right when it changes, it first is invisible, then changes to the image, this shows that the image hasn’t loaded yet, but even with loading the required images, it still does the same thing.

local images  = {
	"rbxassetid//71652328428214",
	"rbxassetid//74015924147140"
}

contentprovider:PreloadAsync(images)

Roblox documentation says that PreloadAsync is for Instances, not links.

Oh, sorry I didn’t know that. I thought it was for instances and for links, but is there a way to load links too or nah?

Only way i see is:

local images  = {
	"rbxassetid//71652328428214",
	"rbxassetid//74015924147140"
}

for _, Link in images do
  local Decal = Instance.new(`Decal`)
  Decal.Texture = Link
  contentprovider:PreloadAsync(Decal)
  Decal:Destroy()
end

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.