Cast asset object reference to blueprint

Hello Forum,
I am creating an editor utility widget that works with assets in the content browser.

I would like to cast following assets to my created blueprints, is it possible? The assets in this folder are child blueprints to my BP_P_AssetVariant parent blueprint. Why does this cast fail? It also fails when I cast them to the child blueprint. They are loaded.

I would like to access the components inside these blueprints without spawning them as actors in the scene - I thought that loaded objects call their respective constructors and that this cast should not fail.

Is there another way I can work with BP components on the asset level?

Thank you in advance.

Try this:

To work with components without spawning actors, use SubobjectDataSubsystem:

My Products

1 Like

Thanks a lot !!!