Thanks a lot. I didn’t know I had to use the Static mesh component object reference from the previous node to set the material.
It worked just fine like this!