Change Parent Material of Multiple Material Instances at Once

Hey there Ares9323,

Don’t get me wrong, I love your plugin, I just posted my conclusion because it might be helpful to someone here.

Personally, your plugin has helped me more than you know and I don’t really care about having to remove the asset before reparenting.

Take care!

1 Like

Also found solution for this- firstly reparent material to “None”, and then update, and set material instance parent. It will dump temp files.

1 Like

Stumbled upon this and looks like it’s the perfect solution for me, but I don’t have the Scripted Actions menu showing up even after I load the plugin and restart. How to get that line to appear?

Thanks!

1 Like

Hey, just wanted to add my thanks to @Ares9323 for making this handy plugin available for free.

I wanted to show a tiny change just in case it is helpful for anybody. I had been looking for a way to bulk edit physical materials since these do not transfer from parent material.
It is easy to adjust Ares’s utility to do that:
just adjust the code like this and it works

@hugo.jackson
double check that you added the UPLUGIN file to your plugins folder in the project (outside of content folder) and then restart unreal.

4 Likes

This saved me a bunch of time writing it for myself! Thank you so much.

One thing I noticed is that in 5.3.2 after installing and enabling the plugin, I had to recompile and re-save the utility blueprint and restart the editor to get it to work.

1 Like

I have a small suggestion: it would be even better if this tool could also replace the parent material of multiple instance materials with a single instance material. Sometimes, we want to change the parent material of multiple instance materials to the same instance material. This way, we only need to modify the parameters of one instance material, and it will affect all instance materials. Otherwise, we would have to modify the parameters of the parent material. I hope you can add this feature. Thank you.

What new features have been added by making this modification?

I don’t remember how I did this 3y ago but the current version I have in my plugin does that for sure (I’m certain because I’ve used it recently), you need to change the parent class to “Material Interface” in the blueprint utility instead of “Material” and it should work

thank you so much @Ares9323!! I had an issue with the plugin where I couldn’t reparent material instances to other material instances, but it was very fast to adjust the logic so that it allowed that. If anyone else wants to do the same, open up AssetActionUtility in the MaterialReparenter Content folder and in the graph, set the first node’s Parent Materialinput class to Material Interfaceinstead of just Material. The plugin will then allow to reparent to both materials and material instances.