My question is: will loading thumbnails for assets at runtime as needed ever fail or take a long time.
MORE DETAILS:
We make our pet icons/thumbnails using viewport frames, we upload those as models then use the web API to get the image. We plan to have dozens of pets in the end and each pet has 3 icons for each rarity version. So 100 pets would mean 300 icons. The icons are 150 x 150
I can get these thumbnails into game in 2 ways. First I can simply upload them into Studio and they will load for the player when they join.
OR i can “lazy load” load the for the player as needed using the API at runtime. The first time they are loaded I would cache them in replicated for the rest of the players session. Now instead of a player having all the icons, they will have just what they use during their sessions.
My thoughts on why to do this would be for saving memory on the client. Should I worry that hundreds of icons at 150 x 150 would tax the memory on some devices?
My only reason not to do this is that I worry that the icon might not be there fast enough when the player needs to see it in their GUI.
I don’t fully understand how guaranteed the retrieval of thumbnails is, and/or how t handle when it dooesn’t return the image expected.