Material loading issue [C++]

UStaticMeshComponent Mesh = ConstructObject(this,“MeshComp”);

   if (Mesh != NULL) Mesh->SetMaterial(0, LoadObject(this,TEXT("Material'path_to_my_mat'"))); // Here is the problem