# Nanite makes parts of mesh disappear

**URL:** <https://forums.unrealengine.com/t/nanite-makes-parts-of-mesh-disappear/670705>\
**Category:** Rendering\
**Tags:** unreal-engine, UE5-0, Rendering, question\
**Created:** [October 16, 2022, 6:38pm UTC](https://forums.unrealengine.com/t/nanite-makes-parts-of-mesh-disappear/670705 "2022-10-16T18:38:35Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![Aininia](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Aininia](https://forums.unrealengine.com/u/Aininia)\
**Post date:** [October 16, 2022, 6:38pm UTC](https://forums.unrealengine.com/t/nanite-makes-parts-of-mesh-disappear/670705/1 "2022-10-16T18:38:36Z")

</div>

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/f/6/0f643a8adc89642ea18eac0b4d329a213746dc3e.jpeg)

Nanite enabled on the meshes makes part of them disappear until the camera gets very close.

This is definitely caused by Nanite as it only happens when Nanite is enabled on the meshes.

---

<div class="post-metadata">

**Author:** ![ZenLeviathan](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/zenleviathan/32/551307_2.png) [@ZenLeviathan](https://forums.unrealengine.com/u/ZenLeviathan)\
**Post date:** [October 16, 2022, 10:00pm UTC](https://forums.unrealengine.com/t/nanite-makes-parts-of-mesh-disappear/670705/2 "2022-10-16T22:00:07Z")

</div>

Hey @Aininia,  
What are your culling settings? That may be having an effect on the rendering.  
Did you make your mesh inside Unreal?  
My first suggestion is to mess around with the culling or performance display settings.  
Let me know if you have more questions!  
-Zen

---

<div class="post-metadata">

**Author:** ![3dRaven](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/3draven/32/906552_2.png) [@3dRaven](https://forums.unrealengine.com/u/3dRaven)\
**Post date:** [October 16, 2022, 10:10pm UTC](https://forums.unrealengine.com/t/nanite-makes-parts-of-mesh-disappear/670705/3 "2022-10-16T22:10:11Z")

</div>

Maybe try changing the near clip plane in project settings Engine =\> General Settings =\> Near Clip Plane.

Are the effected meshes using transparency or clipping masks?

---

<div class="post-metadata">

**Author:** ![Aininia](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Aininia](https://forums.unrealengine.com/u/Aininia)\
**Post date:** [October 16, 2022, 11:09pm UTC](https://forums.unrealengine.com/t/nanite-makes-parts-of-mesh-disappear/670705/4 "2022-10-16T23:09:41Z")

</div>

Mesh was imported into unreal, it doesn’t use any masks. Changing the near clip plane had no effect.

It must be a mesh problem as it persists no matter which material I use.

With Nanite off I still get some weird invisibility when from a distance on one of the meshes  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/8/d/58d1abc6fc44d8deb30baf416584972e2f4060f7.png)

Still no idea why though; obviously the faces of the mesh are correctly facing as there are no problems close up. It’s just once I’m further away that one triangle goes invisible.

---

<div class="post-metadata">

**Author:** ![3dRaven](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/3draven/32/906552_2.png) [@3dRaven](https://forums.unrealengine.com/u/3dRaven)\
**Post date:** [October 17, 2022, 8:08am UTC](https://forums.unrealengine.com/t/nanite-makes-parts-of-mesh-disappear/670705/5 "2022-10-17T08:08:12Z")

</div>

Could it be flipped normals? Seems like specific polygons are disappearing.

For test try switching it to a 2-sided material, if that fixes the problem, then it lies in the model itself (check normal direction of all the faces in your 3d modeling program)

---

<div class="post-metadata">

**Author:** ![Aininia](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Aininia](https://forums.unrealengine.com/u/Aininia)\
**Post date:** [October 18, 2022, 2:07am UTC](https://forums.unrealengine.com/t/nanite-makes-parts-of-mesh-disappear/670705/6 "2022-10-18T02:07:12Z")

</div>

two-sided materials didn’t fix it. ☹

---

<div class="post-metadata">

**Author:** ![ZenLeviathan](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/zenleviathan/32/551307_2.png) [@ZenLeviathan](https://forums.unrealengine.com/u/ZenLeviathan)\
**Post date:** [October 18, 2022, 6:50pm UTC](https://forums.unrealengine.com/t/nanite-makes-parts-of-mesh-disappear/670705/7 "2022-10-18T18:50:19Z")

</div>

@Aininia  
Strange! There have been a couple of different Nanite bugs that have come out with UE5. You could try migrating the project into a new one and maybe re-verify your installation, but I found a thread that might shed some more light on your issue:

> [@\[UE5\] Nanite bugged in new version of UE5?](https://forums.unrealengine.com/t/ue5-nanite-bugged-in-new-version-of-ue5/513473/13):
>
> Found a solution. Issue is the RHI in the Project Settings. Open Project Settings. Search RHI. Go Under Platforms - Windows - Targeted RHIs (presuming you are on that platform). Change from Default RHI: Default to DirectX 12. Restart the project. That should solve it. I always thought that Nanite is supported both on DirectX 11 and 12? At least I remember that being explained in the official docs last year. Newest release and updated docs mention only Direct…

If that doesn’t work, please let me know!  
-Zen

---

<div class="post-metadata">

**Author:** ![Aininia](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Aininia](https://forums.unrealengine.com/u/Aininia)\
**Post date:** [October 19, 2022, 5:27am UTC](https://forums.unrealengine.com/t/nanite-makes-parts-of-mesh-disappear/670705/8 "2022-10-19T05:27:40Z")

</div>

Sadly the DX 12 solution was already tried and didn’t work.

I’ve also tried migrating the assets to another project…no success.

Currently I suspect that these are low-poly assets which are getting mauled when Nanite is enabled. When Nanite is disabled some of them still get invisible polygons when the player is far away…probably due to it being a low poly asset again though I am surprised since I didn’t think disappearing polygons would happen on a mesh that isn’t Nanite.

Solution would probably be to contact the asset creator and have them fix whatever is wrong with it.

---

<div class="post-metadata">

**Author:** ![PeteDimitrov](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/petedimitrov/32/1072129_2.png) [@PeteDimitrov](https://forums.unrealengine.com/u/PeteDimitrov)\
**Post date:** [October 19, 2022, 3:50pm UTC](https://forums.unrealengine.com/t/nanite-makes-parts-of-mesh-disappear/670705/9 "2022-10-19T15:50:39Z")

</div>

Hey Aininia,

Perhaps some of the faces are not connected to one another and there is a lot of degenerate polygons?

If you have Blender, open the meshes, go in the modifiers and apply a “Weld”. Up the Distance in it until its high but doesn’t change the geometry visuals.  
That should remove any overlapping vertices (resulting in degenerate faces).  
Apply modifier and then export.

If that doesn’t fix it, then perhaps its indeed because of the low amount of polys. Try to apply a “Subdivision” modifier in Blender and give it “Simple” setting instead of “Catmull-Clark” (secondary would make them "smooth in geo, while first will keep them as they are - low poly looking).

You could ramp that modifier up to 1-2 levels, get yourself some more geometry and subdivisions on the models through it and then apply it and export and retry Nanite.

If models are heavily triangulated you would want to see if you could easily run a “Tris to Quads” before adding any modifiers.

I mean I know this is not idea as at this point you might just as well recreate the meshes, but I hope it helps in some way as an idea.

---

<div class="post-metadata">

**Author:** ![ratyio](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/ratyio/32/1100333_2.png) [@ratyio](https://forums.unrealengine.com/u/ratyio)\
**Post date:** [July 1, 2023, 2:44pm UTC](https://forums.unrealengine.com/t/nanite-makes-parts-of-mesh-disappear/670705/10 "2023-07-01T14:44:11Z")

</div>

For me, when I switch off two sided option, I recalculate normals and UVs, the problem is solve  
Another problem solved for me: in the viewport, my material textures were disappearing. So I bake the materials in the detail menu, increase to 512x512 and it works.

---

<div class="post-metadata">

**Author:** ![Endgen](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/endgen/32/590869_2.png) [@Endgen](https://forums.unrealengine.com/u/Endgen)\
**Post date:** [January 7, 2024, 1:42am UTC](https://forums.unrealengine.com/t/nanite-makes-parts-of-mesh-disappear/670705/11 "2024-01-07T01:42:39Z")

</div>

So i came across this post years later since I had a similar issue. I figure out that the Building I was using to turn into nanite was also disappearing (kitbash3d building) turns out it was because the glass material for some reason was screwing with the nanite. so I changed it to another material and bam all my buildings are now nanite and working. so try changing the material for the windows. I guess it has to do with opaque materials screw with the nanite.

---

<div class="post-metadata">

**Author:** ![ZacD](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ZacD](https://forums.unrealengine.com/u/ZacD)\
**Post date:** [January 7, 2024, 12:34pm UTC](https://forums.unrealengine.com/t/nanite-makes-parts-of-mesh-disappear/670705/12 "2024-01-07T12:34:38Z")

</div>

Nanite only supports a limited set of shading models. Translucency, cloth, and a few other shading models will cause nanite to be disabled even if it’s only used on part of a mesh. Nanite does support Masked Opacity.

---

<div class="post-metadata">

**Author:** ![Kikosta1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Kikosta1](https://forums.unrealengine.com/u/Kikosta1)\
**Post date:** [November 24, 2024, 8:38pm UTC](https://forums.unrealengine.com/t/nanite-makes-parts-of-mesh-disappear/670705/13 "2024-11-24T20:38:52Z")

</div>

Recalculate normals helped me. Thanks bro

---

<div class="post-metadata">

**Author:** ![Kaffekopp](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Kaffekopp](https://forums.unrealengine.com/u/Kaffekopp)\
**Post date:** [November 26, 2024, 3:44pm UTC](https://forums.unrealengine.com/t/nanite-makes-parts-of-mesh-disappear/670705/14 "2024-11-26T15:44:18Z")

</div>

I had a similiar (the same?) issue with a mesh just now (parts of the mesh disappearing, deforming at a distance) and ended up in this thread by googling. Turns out the issue was that it didn’t have any UVs and Nanite freaked out in the simplification process.

Fixed it by either turning off Lerp UVs in the nanite settings of the asset or making sure the asset had UVs!
