Set Material not working for skeletal mesh components

Thank you very much Eric! Even nowdays I had this issue until I found this post.