Is there a way to get the default materials from a static mesh reference? It doesn’t seem like there is. If a way does not already exist, I suggest adding one. It looks like UStaticMesh has material properties accessible to C++. They should be made accessible from Blueprint.
I ask because I’ve created an instanced static mesh manager that finds and adds new mesh instances as necessary. When determining whether to add a new instanced static mesh component or use an existing component, it checks if a component already exists with the specified static mesh and materials. The problem is that the ISMC’s get materials node (previously called get override materials) doesn’t include default materials where materials were not overridden. So, in that case, I would need to check if the specified material was equal to the default material. But, there isn’t a node for that.