Why not possible to Create Dynamic Material Instance from the existing material?

are you sure the element index is correct?
i’ve used that code multiple times.