Good day, I’ve been trying to wrap my head around a rather simple problem, though cant quite find a working solution to it.
I want to load asset preview images of a 3D models from external directory, for example folder on a local computer, without loading the asset themselves (not sure if that’s even possible), display their preview images on a grid layout(this part isnt the problem), and then be able to load said 3D models on demand at a later moment.
The idea is that I could have a directory(possibly with multiple subdirectories within it), with 3D models outside of the project, whether its filesystem on server, or for starters - just a folder on computer, pull preview images of said models to the scene, display them on buttons(with image components), and then when individual buttons(with preview image of XYZ) model is pressed, I could retrieve(load) the model itself, avoiding the need to load entire directory of models at once. As far as I understand, AssetPreview class is a solution for such problem to work only in editor, where as I am looking for a solution to a built project.
Another thought I had, though didn’t quite look into it too much, is to have a way of saving Assetbundles of 3d models and their preview images within Unity Editor, save them in external directory, and then pull the assetbundle, but load only the preview image(?) at the beginning, and load 3d model (if needed) later.
Any headers or help would be greatly appreciated.