Search Unity

Edit multiple Model Materials with this tool I made

Discussion in 'Assets and Asset Store' started by CausticLasagne, Jun 23, 2021.

  1. CausticLasagne

    CausticLasagne

    Joined:
    Oct 2, 2015
    Posts:
    26
    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!
     

    Attached Files:

    Last edited: Jun 24, 2021
    oAzuehT, cdr9042, Gustjc and 3 others like this.
  2. cdr9042

    cdr9042

    Joined:
    Apr 22, 2018
    Posts:
    173
  3. kharling

    kharling

    Joined:
    Jul 15, 2020
    Posts:
    12
    Thank you! this is exactly the type of tool I've been looking for.
     
  4. oAzuehT

    oAzuehT

    Joined:
    Feb 14, 2020
    Posts:
    9
    Thank you!