Search Unity

Question How to prevent Unity from importing certain files (e.g. .blend, .psd)?

Discussion in 'Editor & General Support' started by kodra_dev, Nov 23, 2022.

  1. kodra_dev

    kodra_dev

    Joined:
    Oct 31, 2022
    Posts:
    108
    Unity seems to import whatever I put into Assets. But for certain files, for example .blend from Blender, I'd rather not import them because I'll only use the exported format (.fbx) in Unity. Is it possible to just tell Unity to not import them? Or is it better to put them outside of Assets?
     
  2. Kurt-Dekker

    Kurt-Dekker

    Joined:
    Mar 16, 2013
    Posts:
    38,697
    I don't think there's a general way to do this.

    You could do this, but then you have to maintain some mental linkage between
    foo.blend
    and
    foo.fbx
    in completely different locations so that you can make changes and know that you're exporting it properly, and it's one more way to screw things up and requires MILLIONS of clicks to maneuver folders. It's a complete and total nightmare mess.

    The best thing is to just directly use the Blender file.

    The next-best thing is to put BOTH files in there.

    But then you will have two things in Unity called
    foo
    and you will be sad when you use the .blend instead of the .fbx.

    The best thing I've found is to name the files differently and put them both in your project under Assets. I also use a new folder for every Blender file, or at least all related files of a type (such as all trees, or all rocks).

    This is the pattern I use:

    foo_blender.blend     (or simply foo_blend.blend, up to you)
    foo.fbx


    That way you see
    foo_blend
    and
    foo
    as possible models in the project.
     
  3. Whatever560

    Whatever560

    Joined:
    Jan 5, 2016
    Posts:
    515
    Last edited: Mar 22, 2023