Replace all instances of a material instance ?

Hi,

I’m trying to dynamically modify materials during runtime. Dynamic Material Instances are fine, but it doesn’t permit to change the blend mode.

My idea was to create new base materials for each blend mode and use instantiate it when needed.

My issue :

I have a dynamic material instance A with “opaque” blend mode. Then I instantiate a dynamic material instance B with the new blend mode. Now I want to replace all instances of A by B without looking everywhere in my project my material A is used. I thought I could try something with memory adress but it doesn’t sound reasonable with dynamic material instances system.