How to get an asset thumbnail at editor time.(Don't need at runtime)

I am building a tool for editor scripting in which i need to get asset thumbnail placing in the content browser. I am using editor utility widget for editor scripting.
5cb9c3b9b0a38ae38f5f78d25db0385208ad708a
a384cfd80419d7e81c7dc25e0b085333c71b1521

I don’t know the exact nodes you’ll need from BP but in C++ it’s done like below, I’m guessing there will be a way to do the same from Blueprint.

Package->FullyLoad();
ThumbnailTools::GenerateThumbnailForObjectToSaveToDisk(newMesh);
Package->SetDirtyFlag(true);
FEditorFileUtils::PromptForCheckoutAndSave({Package},false,false);
FAssetRegistryModule::AssetCreated(newMesh);

3 Likes

Thanks for replying.
It worked for me.

1 Like

Did you manage to solve this using only blueprint? In that case, do you mind sharing an image of how you solved it? Thanks!