Actor BP - how can I create a mesh from it's name (string)?

Hi,

So far I use a switch case but I thought I could use Set Static Mesh Path

but it does not appear (see image)

Is there a way to create a static mesh from its name ?

thanks for your help

Try GetAssetRegistry->GetAssetByObjectPath->Cast To Static Mesh.
You can get the object path by right clicking the asset->“Copy Reference”.

1 Like

is not available


Use “Get Asset”.

1 Like

YES !!!
thank you so much !!

1 Like