Importing FBX files with material using assimp

I was successful in importing the mesh using the runtime mesh loader plugin (which uses assimp) but I am unable to import the material along with the mesh.
I tried to import the material using Dynamic Object Loader (A new, community-hosted Unreal Engine Wiki - Announcements - Epic Developer Community Forums ) but my ue4 crashes when I try to assign the material.

mi.my_material = Cast<UMaterialInterface>(StaticLoadObject(UMaterialInterface::StaticClass(), NULL, TEXT("path_to_material")));
if (mi.my_material != nullptr) {
		mi.my_material = UMaterialInstanceDynamic::Create(mat, nullptr);
	        UE_LOG(LogTemp, Warning, TEXT("mat null\n"));
}

Can you please suggest any method to import the material along with the mesh at runtime.