# Nanite and Path Tracing

**URL:** <https://forums.unrealengine.com/t/nanite-and-path-tracing/560698>\
**Category:** Architectural and Design Visualization\
**Tags:** unreal-engine\
**Created:** [May 19, 2022, 1:56am UTC](https://forums.unrealengine.com/t/nanite-and-path-tracing/560698 "2022-05-19T01:56:47Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pat\_Begley](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Pat\_Begley](https://forums.unrealengine.com/u/Pat_Begley)\
**Post date:** [May 19, 2022, 1:56am UTC](https://forums.unrealengine.com/t/nanite-and-path-tracing/560698/1 "2022-05-19T01:56:47Z")

</div>

Ue5 is awesome but I am running into issues when rendering with the Path Tracer when Nanite is enables.

The geometry becomes mangled. Is there a way around this? Perhaps Nanite could be turned off at runtime? This would allow me to render stills at the highest fidelity while utilizing Lumen and Nanite for Animation.

Any insight is useful…Thanks

---

<div class="post-metadata">

**Author:** ![Antoine\_Guillo](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/antoine_guillo/32/1225291_2.png) [@Antoine\_Guillo](https://forums.unrealengine.com/u/Antoine_Guillo)\
**Post date:** [May 19, 2022, 12:36pm UTC](https://forums.unrealengine.com/t/nanite-and-path-tracing/560698/2 "2022-05-19T12:36:55Z")

</div>

Hi Pat\_Begley !

The Path Tracer currently does not support Nanite meshes, and uses the fallback mesh instead.

To improve the quality of the fallback mesh, you can change the Fallback Relative Error parameter down to 0 in the mesh properties editor window.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/0/f/f0f9a22d157fe85889a58276d0bad863c6220dcc.png)

Here’s the difference between a value of 1

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/4/8/44810c02d104e108d7b298508bb4383ab79a2688.jpeg)

And 0

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/3/f/03ff2308fc99b14e5b8d71a4b0acc1d527f9469e.jpeg)

We are working on making Nanite compatible with the Path Tracer, but have no ETA to give you for now.

Hope this helped !

Cheers,  
Antoine

---

<div class="post-metadata">

**Author:** ![Pat\_Begley](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Pat\_Begley](https://forums.unrealengine.com/u/Pat_Begley)\
**Post date:** [May 20, 2022, 7:52pm UTC](https://forums.unrealengine.com/t/nanite-and-path-tracing/560698/3 "2022-05-20T19:52:19Z")

</div>

Thank you sir. That works well.

Follow up question. Is there a way to set that value to zero when importing from Dataprep. Or a way to do so in Blueprint?

I am not seeing any possible action in blueprint which relates to “Fallback Relative Error”.

Basically, I am trying to avoid having to do this manually because I have dozens of meshes that need to be set to 0.

Thanks

---

<div class="post-metadata">

**Author:** ![Antoine\_Guillo](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/antoine_guillo/32/1225291_2.png) [@Antoine\_Guillo](https://forums.unrealengine.com/u/Antoine_Guillo)\
**Post date:** [May 22, 2022, 6:33pm UTC](https://forums.unrealengine.com/t/nanite-and-path-tracing/560698/4 "2022-05-22T18:33:08Z")

</div>

There’s currently no Dataprep operation or hooks in custom operations to change that static mesh asset property.

We’ll be looking at options for future releases, but the plan is to support Nanite assets with the path tracer for now.

Cheers  
Antoine

---

<div class="post-metadata">

**Author:** ![galactic](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@galactic](https://forums.unrealengine.com/u/galactic)\
**Post date:** [April 16, 2023, 8:20am UTC](https://forums.unrealengine.com/t/nanite-and-path-tracing/560698/5 "2023-04-16T08:20:42Z")

</div>

I am on 5.2 and nanite still breaks over path tracing… Any updates?

---

<div class="post-metadata">

**Author:** ![HollowsWoodsman](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/hollowswoodsman/32/966196_2.png) [@HollowsWoodsman](https://forums.unrealengine.com/u/HollowsWoodsman)\
**Post date:** [May 11, 2023, 6:40pm UTC](https://forums.unrealengine.com/t/nanite-and-path-tracing/560698/6 "2023-05-11T18:40:19Z")

</div>

EDIT:

**r.RayTracing.Nanite.Mode 1**

THANK YOU “Juan Canada” one of the Epic graphics dev, at around 30 min of this talk, said there is a cvar to enable this!

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/b/9/8b9da9e733b1f3ba2178d20660b4c1440ecef215.jpeg "Unreal Engine 5.2 Release Overview | Inside Unreal") ](https://www.youtube.com/watch?v=9hU0aHfEvQ8)

---

<div class="post-metadata">

**Author:** ![JohanBosch](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/johanbosch/32/722501_2.png) [@JohanBosch](https://forums.unrealengine.com/u/JohanBosch)\
**Post date:** [June 23, 2023, 3:35pm UTC](https://forums.unrealengine.com/t/nanite-and-path-tracing/560698/7 "2023-06-23T15:35:32Z")

</div>

Thank you for the Fallback Error info and the cvar code, this solved everything for me

---

<div class="post-metadata">

**Author:** ![sanford87](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/sanford87/32/906597_2.png) [@sanford87](https://forums.unrealengine.com/u/sanford87)\
**Post date:** [January 12, 2024, 6:10pm UTC](https://forums.unrealengine.com/t/nanite-and-path-tracing/560698/8 "2024-01-12T18:10:26Z")

</div>

cvar is:  
r.RayTracing.Nanite.Mode 1

---

<div class="post-metadata">

**Author:** ![Vlaskes1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Vlaskes1](https://forums.unrealengine.com/u/Vlaskes1)\
**Post date:** [December 26, 2025, 8:11am UTC](https://forums.unrealengine.com/t/nanite-and-path-tracing/560698/9 "2025-12-26T08:11:22Z")

</div>

> [@Antoine\_Guillo](#):
>
> We are working on making Nanite compatible with the Path Tracer, but have no ETA to give you for now.

Hello, any updates on this?
