How to correctly set material for an instanced static mesh?

Well if you want to do that you also need material instance. You just set the material on the mesh, but then the material can be changed from C++ instantly since it’s dynamic once you set the material on the mesh.

“I don’t need anything complicated, like setting material per instance” Well you do, there is no other way to change things while game is running.

Thank you for reminding me about.

UInstancedStaticMeshComponent

I plan to use it but forgot about it.