How do I get the folder path of a Blueprint?

Didn’t expect an answer for this anymore… but that works great. I wrote the following into the PostInitializeComponents()-Function of my Actor-Class:

ObjectPath = "Blueprint'" + this->GetClass()->GetPathName().LeftChop(2) + "'";

Basically you could simply write “GetClass()->GetPathName()”, but needed the " Blueprint’ ’ " wrapped around it and choped the “_C” at the end.

Thanks !

1 Like