0
$\begingroup$

I am new to Blender and Unity, so if you need me to add more information I can, any help is greatly appreciated. This all started when I tried to export my Blender object into Unity. So I had my object all created with materials and everything, it was unwrapped and UV projected, but when I exported it to unity as a FBX file the Materials didn't show up. I thought that was weird so I went back into blender and all my materials where gone I tried reapplying the materials and I couldn't. Now I can't seem to add materials, unwrap, add nodes, or UV project anything. Photo of what I think the problems is, if you need other photos let me know

Blender File Link

$\endgroup$
5
  • $\begingroup$ If you can, also add your .blend file to the question. It helps us finding a possible solution. $\endgroup$
    – Ben
    Commented Mar 29, 2019 at 21:46
  • $\begingroup$ Okay I added the link let me know if it works. Thanks for the feedback Ben $\endgroup$ Commented Mar 29, 2019 at 22:20
  • $\begingroup$ Works fine, I'll check it out in a bit. $\endgroup$
    – Ben
    Commented Mar 30, 2019 at 9:41
  • $\begingroup$ Did you fix your problem? If so, don't forget to mark the answer as correct. $\endgroup$
    – Ben
    Commented Apr 28, 2019 at 20:44
  • $\begingroup$ oops forgot to mark it. Thanks for the help this solved my problem. $\endgroup$ Commented May 6, 2019 at 18:16

1 Answer 1

1
$\begingroup$

Sorry if this reply comes a little late, but I rarely ever import into Unity, so I had to do a bit of trial and error.

First of all, there is nothing wrong with your file. The only thing that is missing is the link to your texture. If you load it back in via the Texture-Tab in the Properties Window, everything works as it should.

Re-Linking Texture Files and Packing Image Textures

Consider packing your textures into the .blend files if you hand them off to somebody else, this will incorporate the images into the file and you will no longer have to send the texture files along with the .blend file.

Now, to import those files into Unity, there are a couple of workflows. I will give you the one that I find the most useful, if you want to learn about all the ins and outs, i would recommend Darrin Lile's course on Blender and Unity Pipelines. It is only about 12 Dollars, but it goes through all possible permutations of asset importing and gives you best practises to follow along the way. Like for instance naming the materials. It will not matter with a single cube, like in your file, but the materials do pile up.

Darrin Lile's Creating a Game Environment in Unity Course

To get assets from Blender into Unity follow these steps:

  • Set up the materials (like you have)
  • Export an FBX. Either for the whole Scene, or, with the "Selected" Checkbox checked, only the selected Objects
  • Drag these objects into Unity's Asset Window (or right click it and select Import New Asset)

Import Asset to Unity

  • I would recommend you set up 3 Folders: Models for the Mesh Data, Materials for the Unity Materials and Textures for the Texture files

Folder Structure in Unity

  • If you use the same Texture Folder for your Unity Project that you use for your .blend files, you will not have to import anything here. It populates with the files that are in this folder.

  • Now select your object. It has the material on it, that you assigned in Blender. You need to hook up the brick Texture manually to the Albedo slot (see image above). Drag it from the texture folder onto the square next to the Albedo Label.

This should be all you need. I remember there was an option to embed textures into an FBX, but as far as I could find out, that ONLY works if you use Blender Internal Renderer and do NOT use nodes to build the material. Just wanted to mention it for completion's sake. FBX Export Article

Also, on import, the default color in Unity is an off-white, which will make your textures look less contrasty. To counteract this, set the base color to full white. Color Picker in Unity

$\endgroup$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .