We are working on an application that has over 1000 materials in the unreal project.
I was wondering if it was possible if I had the path to the material, if it would be possible to set an Actor’s materials using a String for the material name and/or path. I have it working with a map, having the string reference a specific material, but this isn’t optimal for us if we want to add more materials and was hoping someone knew a better way of doing this.
Yes, that works, but you may want to cast to material interface instead so that it can also take material instances (you can see that the set material node takes a material interface).