This item has been superseded by
ContentProvider/PreloadAsync which should be used in all new work.
Usually, content is loaded only when it starts being used. That explains why it often takes a moment for an image to appear in a
GuiObject|GUI, or a
Mesh|mesh to appear in a
BasePart|part, or why a
Sound|sound doesn’t play for the first time. All because the asset has not yet finished loading. Preload is used to load this content beforehand, so that it works instantly.
This example will preload the asset with id “12222058” when a LocalPlayer loads a game.