SetMaterial is setting the material, but it's not showing in play

Can you show the code?