How to compare two Material Instances?

I have two Material Instances.

First is regular, the second one is Dynamic created from the first.

Checked like all the 'get' functions available for both types, there seems no way to get something of same type to compare…

Not totally clear on what you’re trying to get, but if you’re looking to see if a dynamic material instance was made from a given material instance, you can do it like so

This returns true

This returns false

Oh, so it was so simple, I thought that when Dynamic Material object is created, it is new, separated, different it’s own thing, which does not have any parent.

Thanks.