Hey everyone, i’ve made a very simple preloader which consists of a frame with all the game images hidden by a black frame with higher zindex. The problem is, it only loads the images whithin this preloader frame, and not the original ones.
How could I fix it? (Using PreloadAsync didn’t help)
EDIT: the PreloadAsync code
local ContentProvider = game:GetService("ContentProvider")
local studio = script.Parent.image_studio
studio.Image = 'rbxassetid://17535884939'
local datas = script.Parent.image_status
datas.Image = 'rbxassetid://138078010960441'
local Images = {studio, datas}
ContentProvider:PreloadAsync(Images)
how are you using preload async? if i remember correctly, it loads stuff you put in. anything cloned will not be preloaded. so you would have to use preload async on PlayerGui and not StarterGui
local ContentProvider = game:GetService("ContentProvider")
local studio = script.Parent.image_studio
studio.Image = 'rbxassetid://17535884939'
local datas = script.Parent.image_status
datas.Image = 'rbxassetid://138078010960441'
local Images = {studio, status}
ContentProvider:PreloadAsync(Images)
⠀
Yeah, I feared so. But I read people saying that as an alternative you could put the images in a frame and hide or place it outside of frame (this also would be good to prevent the images of unloading.)