2
$\begingroup$

I started recently learning how to use Blender to create 3D models, to use them later in Unity3D.

Translating the vertices of a hollow cylinder, I created the following model. Please pay special attention to the selected face. the model in edit mode, with normal face directions visible

After finishing translating all the vertices, I noticed these "faces" were accidentally deformed or even deleted. So, I deleted them and remade them selecting the corresponding vertices and hitting the Make Edge/Face button. The result is the screenshot posted here, and they look good from Blender.

However, when I export it to FBX file and insert it in Unity3D, this selected face and the one equivalent at the other side are completely invisible from any angle. I tried flipping normals but they still remain invisible.

I also tried to press CtrlShiftAltM just in case there was some undetected non-manifold geometry, as suggested in this answer from another question.

I barely can guess that this is probably because of the twisted geometry of the face itself, but I can't figure out in detail the true causes.

What kind of techniques may help to correct this issue?

$\endgroup$
  • 2
    $\begingroup$ My guess is that Unity/FBX doesn't like N-gons. Triangulate/Convert to quads those faces. (Press Space and type) $\endgroup$ – someonewithpc Jul 6 '16 at 18:38
  • $\begingroup$ It sounds interesting... I will have to search what N-gons are, and learn about quads. It is worth to try. $\endgroup$ – SebasSBM Jul 6 '16 at 18:41
  • $\begingroup$ A quad is a four sided polygon, while an N-gon is an N sided polygon; this term is used for polygons with more than four sides, since they tend to cause problems. $\endgroup$ – someonewithpc Jul 6 '16 at 18:42
  • $\begingroup$ BTW, Unity can open .blend files, so you don't need to export, which may fix your problem $\endgroup$ – someonewithpc Jul 6 '16 at 18:44
  • 1
    $\begingroup$ You should be able to convert that Ngon to tris with Ctrl+T command (triangulate), and then Alt+J to convert to quads. $\endgroup$ – Mr Zak Jul 6 '16 at 18:58
2
$\begingroup$

This issue is due to the fact that there are N-gons in your model (an N-gon being an N sided polygon). Either FBX doesn't support these or Unity can't import them, but, either way, the solution is to get rid of them. There are many ways to do this, but the fastest is probably to select those faces and Triangulate them (Ctrl + T) and, possibly, convert those to Quads (four sided polygons) (Alt + J).

Another approach, which might get you cleaner results is to use the Bridge Edge Loops tool; this tool doesn't appear to have a shortcut, but you can invoke it either from Edges menu with Ctrl+E > Bridge Edge Loops or by pressing Space (search for operators) and typing it's name. For this tool, you should have two edge loops selected, so delete the N-gon face and select the edges that were there before (Alt + RMB (selection button)) and then execute Bridge Edge Loops.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.