I ve´got a cylinder primitive and want to change the material via script.
Seems the cylinder has only a single meshInstance to me. When I change
the material, the new material apears only on the top surface.
doesent matter if i update the material or not.
I was looking in the wrong direction , it realy had only one meshInstance and with Your fix I was able to find the problem, couse I knew where to look not. Somewere in my code I’ve doubled my cylinder and changed only one of them. stupid me.