mesh has some nearly zero tangents/bi-normals

Annotation 2020-05-14 190707.jpg

anyone knows how to fix this. i made a search, but couldn’t find anything really helpful. i’m pretty sure this is UV mapping related. it’s not a model i’ve made myself, but that i purchased. the thing is it’s a 90k polys mesh. so if i knew where to search, even a small clue it would definitely help. as i wouldn’t have to search ‘poly by poly’. I’m on Blender

1 Like

I’m having this same issue and can’t find any information on it. Any guidance would be appreciated.

IIRC, the FBX Importer tries to calculate Tangent and Binormal information from UV’s unless you explicitly import them. If the object is poorly UV’d or has no/malformed UV info I can see this being a problem.

I don’t know about Blender, but in 3DS Max there is an option to “Export Tangents and Bi-Normals” with the FBX. You can then change the import option from ‘Calculate Normals’ to “Import Normals and Tangents”.

Blender probably has a similar export option I would imagine.

5 Likes

Solution:

  1. Apply all transforms
  2. Recalculate normals outside if they appear abnormal.

Note that, if the object has UV coordinates that are very close together for two different vertices on each side of an edge, you may get this, because the math can’t calculate a good UV space direction when the two UV values are too close.

This is a problem in the source asset, and can’t really be fixed in the engine (unless you want to write and run some UV relaxation code, which will generally screw up the parts of UV mapping that are precise and good.)

There’s another problem with UV coordinates that are too close along an edge, too: The bilinear filtering will drop all the way to the smallest LOD level, causing texture cache missing, and also causing certain shader LOD approaches to make the wrong decision. (This second part only hits certain kinds of materials you can build, if you’re not using those, that’s not as much of a problem.) Plus it make the triangles that live next to these vertices to look blurry.

Unfortunately, it’s really hard to catch all things like this when building art – even the most deliberate 3D artist with 20 years of experience, can’t get everything right just by feel. Good tooling is needed to call out problems like these, and generally, the DCC tools (Maya, et al) do a ■■■■■■ job of providing feedback on things like this. A successful game studio will have to buy or develop enough plugins to catch these problems before they happen, to get all their art up to technical snuff.

That’s true, if vertices are split yet very close to each other that can cause this issue as well.

This is a method number 3:
Press L while aiming at a model to select all vertices,
then press ALT+M to create a “Merge” window,
and select “By Distance” to connect all the vertices that are very close to each other (There is a parameter that lets you adjust the distance tolerance).

3 Likes

Hey there -

While others have mentioned that improper UVs can cause this, there is also a problem where importing meshes with overlapping loose parts causes the error if you have ‘Build Nanite’ enabled. This happens even if the objects is properly UVd. I suspect this is a bug and have reported it as such. I have confirmed for my models that disabling Nanite for the meshes causes the error to disappear.

The same mesh into UE 4.27 also does not produce any errors, so this is a problem with Nanite and meshes with overlapping loose parts.

If your object is properly UVd, disable ‘build nanite’ and import and see whether the error goes away. If it does, you may want to consider also submitting a bug report for this.

2 Likes

try but same problem :frowning: