Blender Import: Strange dark patches near the edges of a normal mapped model

So I’ve made a 3D model with a normal map.
When I view it in blender, I don’t see any issues and it looks perfect.
However when I import it into unity, I see these dark patches that appear along the sharper edges.

I’ve fiddled with all the import options and I can’t seem to fix it.
Any idea?

I’ve included a package that has the model and normal map in it.

1734915–109513–LegNormalIssue.unitypackage (1.1 MB)

You can try making the edges sharp using ‘mark sharp’ and then export fbx checking the tangent data. That should clear the patches.

See the attached screenshot.

1735709--109598--normal.jpg

Or alternatively you can add an edge split modifier in Blender.

Using a new normal map with a sharp edged model.
It did fix the dark patches, but the sharp edges interfere with the normal map…

Left leg has no sharp edges (dark patches), right is with sharp edges.


If you bake the normals in Blender, make sure to use the Edge Split Modifier. Otherwise the normals will change between Blender and Unity and certainly lead to wrong normals.