This is the way I set up my Material Instances, this will also directly set your new material, I adjusted it to your variable names:
Material = Mesh->CreateAndSetMaterialInstanceDynamicFromMaterial(0, Mesh->GetMaterial(0));
Maybe this will work?!
If that doesn’t work either check if your Mesh is not a nullptr