Unable to set material on Hierarchical instanced static mesh

I had tried to set material on Hierarchical instanced static mesh via Blueprint node ‘Set Material(Hierarchical instanced static mesh)’ with index number of instances. But it does not work for me.

Is there any other way or its a bug?

Hello ,

You’re doing everything correctly except for the index number. The index number should match what material slot you’re setting, not the number of instances in the Hierarchical Instanced Static Mesh. Either way, when you use the Set Material node on this component, it’s going to apply it to all of its instances.