Crash when change Parent Material

Hi. I wrote utility, which replaces parent material for all materials on object, but if this object already loaded in scene than on node “set material instance parent” unreal gets crash every time and closes.
It works fine if i make it on asset’s level. But if some actor, with this material loaded, I had the crash too.
Sorry for my language. I hope I described correctly

Just test it. We need to remove the reference of the Instance in your level. like my ways.
then the it won’t crash. …