Search Unity

Ideas on how to create an editor script that renames meshes inside .FBX files?

Discussion in 'Assets and Asset Store' started by joseGuate97, Mar 13, 2020.

  1. joseGuate97

    joseGuate97

    Joined:
    Mar 1, 2018
    Posts:
    57
    Although the ideal is to have the meshes properly name before exporting a model, the need for such an editor script is not new. As you can see in the following threads or questions:

    - https://answers.unity.com/questions/447964/rename-mesh.html
    - https://forum.unity.com/threads/why-is-unity-renaming-my-meshes.81045/
    - https://answers.unity.com/questions/1191416/it-is-possible-to-rename-the-mesh-of-the-fbx-file.html

    However, there is still no satisfying response on how to go about that. I have searched in the Asset Store for a tool of this kind, and haven't found any.

    So, I am wondering if you know about any tool to achieve it; or perhaps you have any ideas on how to write an editor script that allows to rename meshes inside .fbx files from unity.

    Any help or advice is highly appreciated.


    upload_2020-3-12_18-33-24.png
    ^^(When right clicking, the rename button is greyed out)
     
    JauntyBearGames likes this.
  2. Thygrrr

    Thygrrr

    Joined:
    Sep 23, 2013
    Posts:
    700
    Classic unity. Also looking for this, realized that it STILL isn't possible without re-opening the asset and then hoping AssetDatabase doesn't crash or write invalidd ata.