How to spawn a BP actor from a string path?

Q: I want to spawn blueprint actors by their file path, but how to do that exactly?

I found this [GetAssetbyObjectPath][1] action. I give it a valid path ( /Game/MyDir/MyClass.MyClass) and it gives me a object reference. When I call GetAsset and GetClass on it - it prints Blueprint… where I expected an Actor or Object. How to make this work, any ideas?

Case solved.

Tiny pink node is ToSoftClassReference.

2 Likes