- Home /
AssetPreview at runtime
What is the easiest way to get a thumbnail image for an asset at runtime? I need this for a level editor. I believe GetAssetPreview() only world in the editor.
Answer by kyjv · Mar 14, 2020 at 11:49 PM
For anyone finding this old thread, there is now a nice Asset: https://assetstore.unity.com/packages/tools/camera/runtime-preview-generator-112860#releases
Answer by jister · Sep 29, 2013 at 01:02 AM
make an editor extension that saves out all the AssetPreview to a folder with AssetDataBase.Create so you can load the png/jpg/... as texture2D during runtime
Your answer
![](https://koobas.hobune.stream/wayback/20220613113259im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Export objects to a .3DS file at runtime 1 Answer
runtime model export 3 Answers
Prefabs Transforms LookAt 0 Answers
runtime error ObjectSelector 3 Answers
Modifying an heightmap at runtime 2 Answers