UE5.3 InstancedStaticMesh doesn't update material when using PerInstanceCustomData

I have InstancedStaticMesh component, and i want to change color of only one instance at a time. To do so i created a material, here is a screenshot


In my BP i set CustomData this way:
image

But when the CustomDataValue changes, material doesn’t update at all. When i eject (F8) and select instance which should change color, material updates and changes color. When i select any other actor - color goes back to default.

For example, on this screenshot all squares should be red, but only selected one is.

Any thoughts on how to fix this or how to make instances change color will be appreciated!

1 Like

For anyone wondering what the problem was, i created Mesh twice. So i always selected one which updated color when i ejected, but not updated one was on top otherwise.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.