# I use UE 5.4.1. When Patch tracing is enabled, the geometry of objects is distorted. What to do?

**URL:** <https://forums.unrealengine.com/t/i-use-ue-5-4-1-when-patch-tracing-is-enabled-the-geometry-of-objects-is-distorted-what-to-do/1836845>\
**Category:** World Creation\
**Tags:** unreal-engine, question\
**Created:** [May 2, 2024, 5:39pm UTC](https://forums.unrealengine.com/t/i-use-ue-5-4-1-when-patch-tracing-is-enabled-the-geometry-of-objects-is-distorted-what-to-do/1836845 "2024-05-02T17:39:03Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vlad1977rus](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Vlad1977rus](https://forums.unrealengine.com/u/Vlad1977rus)\
**Post date:** [May 2, 2024, 5:39pm UTC](https://forums.unrealengine.com/t/i-use-ue-5-4-1-when-patch-tracing-is-enabled-the-geometry-of-objects-is-distorted-what-to-do/1836845/1 "2024-05-02T17:39:03Z")

</div>

I use UE 5.4.1. When Patch tracing is enabled, the geometry of objects with Nanita enabled is distorted. What to do?

 ![2024-05-02_20-44-12](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/f/8/0f8de532eba6e04b14eed5d28f40e6cbbedb9a0a.jpeg)

---

<div class="post-metadata">

**Author:** ![ShawnDaGeek](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/shawndageek/32/734104_2.png) [@ShawnDaGeek](https://forums.unrealengine.com/u/ShawnDaGeek)\
**Post date:** [May 2, 2024, 5:51pm UTC](https://forums.unrealengine.com/t/i-use-ue-5-4-1-when-patch-tracing-is-enabled-the-geometry-of-objects-is-distorted-what-to-do/1836845/2 "2024-05-02T17:51:56Z")

</div>

Welcome to the forums Vlad.

_A few searches came up with the following._

The Path Tracer in Unreal Engine does not support Nanite meshes, and instead uses the fallback mesh. To improve the quality of the fallback mesh, you can:

- Change the Fallback Relative Error parameter

Go to the mesh properties editor window and lower this parameter to 0. This will use more of the source mesh’s triangles.

- Use local screen traces

This workaround uses local screen traces instead of the full resolution mesh, which can make Nanite meshes look correct with fewer artifacts.

More… [Nanite and Path Tracing - #2 by Antoine\_Guillo](https://forums.unrealengine.com/t/nanite-and-path-tracing/560698/2)

---

<div class="post-metadata">

**Author:** ![VinnyBlood](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@VinnyBlood](https://forums.unrealengine.com/u/VinnyBlood)\
**Post date:** [June 28, 2024, 4:30pm UTC](https://forums.unrealengine.com/t/i-use-ue-5-4-1-when-patch-tracing-is-enabled-the-geometry-of-objects-is-distorted-what-to-do/1836845/3 "2024-06-28T16:30:05Z")

</div>

That’s not true. PathTracer does support Nanite, you need to add  
`r.RayTracing.Nanite.Mode=True`  
in your DefaultEngine.ini under [/Script/Engine.RendererSettings]

---

<div class="post-metadata">

**Author:** ![ShawnDaGeek](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/shawndageek/32/734104_2.png) [@ShawnDaGeek](https://forums.unrealengine.com/u/ShawnDaGeek)\
**Post date:** [July 16, 2024, 5:19pm UTC](https://forums.unrealengine.com/t/i-use-ue-5-4-1-when-patch-tracing-is-enabled-the-geometry-of-objects-is-distorted-what-to-do/1836845/4 "2024-07-16T17:19:04Z")

</div>

> [@VinnyBlood](#):
>
> r.RayTracing.Nanite.Mode=True

I found the updated docs Vinny, thank you for pointing that out.

\*\* **(Experimental)** Initial support for native ray-tracing of Nanite meshes is enabled with the console variable `r.RayTracing.Nanite.Mode 1`. This preserves all detail while using significantly less GPU memory than zero-error Fallback Meshes.\*

> **[Nanite Virtualized Geometry in Unreal Engine | Unreal Engine 5.4...](https://dev.epicgames.com/documentation/en-us/unreal-engine/nanite-virtualized-geometry-in-unreal-engine#rendering)**
>
> Learn about Nanite's virtualized geometry system and how it achieves pixel scale detail and high object counts in Unreal Engine.
