Download

How to load a skeletal mesh from path, Or load by skeletal mesh name

USkeletalMesh* UMMOUtility::LoadMeshFromPath(const FName& Path)
{
if(Path == NAME_None) return NULL;
//~

return LoadObjFromPath<USkeletalMesh*>(Path);
}

UFUNCTION(BlueprintCallable, Category = “MMO Utility”)
static USkeletalMesh* LoadMeshFromPath(const FName& Path);

Report errors ,why?

What errors are reported from this?

Also, what is the path you are passing in to the function?

Try changing NULL to nullptr.

Also where is LoadObjFromPath coming from? Something you made?