Edit multiple Model Materials with this tool I made

This tool allows you to search and remap multiple models in the project view at one time.
There is also an option to extract all of the textures if there are any embedded in the model file. (Only tested with .fbx and material extraction is unavailable)

For best results, use Unity 2021.1 or higher (Untested on other versions)
The attached Unity Package will place the script in your Assets/Editor folder
Battle-Tested on my own in-the-works Stealth game.

Apply Material Setting to Multiple Models:
Select ‘Tools/Model Multiple Material Editor’.
Select the settings that you wish to apply to your models
(By default, these are set to automatically search your entire project for each embedded material)
Select other models and press ‘Apply Settings’.

Extract embedded textures from models:
Use the top group Extract Textures
Enter the path for the extracted textures, or select a folder in the project view and press the ‘…’ button
Select all models in the project view that have embedded textures
Press ‘Extract Textures’, each model will have its own folder (name of the model file) for any textures that were extracted

If this tool was helpful, please consider donating. I also make other games and software. Contributions will go to my next in-the-works Stealth title.
https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=QNBCJGGNLJ2LN&item_name=Thanks+for+supporting+me!&currency_code=AUD

Note: If your model exporter package includes an option for “Safe File Names”, this will remove any spaces from your material names and the tool won’t be able to find them since they don’t match exactly. Such an example is seen with the Unity FBX Exporter and its “Use Compatible Naming” option.

Please leave any bug reports as a comment tagged ‘BUG’ and I’ll see to it that the issue is resolved promptly. Thanks!

7264888--876763--Cant_edit_multiple.png
7264888--876769--MMME.png
7264888–876775–Model Multiple Material Editor.unitypackage (4.5 KB)

6 Likes

Is there any way to make it extract material too? There’s this code that extract materials: Batch extract materials from 3D model assets in Unity · GitHub

Thank you! this is exactly the type of tool I’ve been looking for.

Thank you!