Roblox preload images. If these ids are mesh ids you might want to refer to contentproviderpreloadasync and preload update and update your code to use preloadasync with instances as an input instead of strings. Answered may 6 19 at 2036. When the function is called the engine will go through all of the instances in the passed in array and all of the descendants of the passed in instances. This will cause some.
It will gather asset ids from instances and their children recursively. Share improve this answer follow edited may 6 19 at 2108. To enhance asset type safety contentproviderpreloadasync function now works with instance list. The rate at which your images preload will of course be limited by how many parallel requests the browser is willing to send but it will eventually request each image url you call preloadimage on.
If any of the. That sounds like a bug then. That roblox fail to load a texture which is approved is not my fault. Preloading the image will not solve the fact that the image cant be loaded in.
To start i need to import in a. Contentproviderpreloadasync gameworkspacemodel1 gameworkspacepart1 if you pass in id strings the old way those ids will be assumed as images other types will failed to request. I ended up deciding to go with the more traditional approach preloading the images into the browser cache. This example will preload the asset with id 12222058 when a localplayer loads a game.
In order to do this i need to adjust my appjs file.