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


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”.

is not available

Use “Get Asset”.

YES !!!
thank you so much !!

1 Like