# UE 5.7.4 Lumen HWRT Inline RayTracing GPU Page Fault during Streaming / Geometry Lifetime Changes 

**URL:** <https://forums.unrealengine.com/t/ue-5-7-4-lumen-hwrt-inline-raytracing-gpu-page-fault-during-streaming-geometry-lifetime-changes/2762741>\
**Category:** C++\
**Tags:** Raytracing, unreal-engine, crash, Lumen, question\
**Created:** [September 4, 2026, 5:41pm UTC](https://forums.unrealengine.com/t/ue-5-7-4-lumen-hwrt-inline-raytracing-gpu-page-fault-during-streaming-geometry-lifetime-changes/2762741 "2026-09-04T17:41:40Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![MistletoeGQ](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MistletoeGQ](https://forums.unrealengine.com/u/MistletoeGQ)\
**Post date:** [September 4, 2026, 5:41pm UTC](https://forums.unrealengine.com/t/ue-5-7-4-lumen-hwrt-inline-raytracing-gpu-page-fault-during-streaming-geometry-lifetime-changes/2762741/1 "2026-09-04T17:41:40Z")

</div>

We are investigating a recurring GPU crash in **UE 5.7.4** with **Lumen Hardware Ray Tracing using the Inline Ray Tracing path**.

The crash occurs inside Lumen HWRT compute shaders, most notably:

`LumenRadiosityHardwareRayTracingCS`

Nsight Aftermath resolves the shader-side call chain approximately as:

```auto
LumenRadiosityHardwareRayTracingCS
    ↓
TraceLumenMinimalRay(...)
    ↓
Inline RayQuery against TLAS
    ↓
triangle hit committed
    ↓
LoadInlineRayTracingTriangleAttributes(...)
    ↓
LoadVertexPositionFloat3(...)
    ↓
SourceBuffer.Load(...)
    ↓
GPU MMU / Page Fault

```

The relevant shader code is mainly around:

`Engine/Shaders/Private/Lumen/LumenHardwareRayTracingCommon.ush`

and the Inline Ray Tracing geometry/metadata loading path involves:

`Engine/Shaders/Private/RayTracing/TraceRayInlineD3D12.ush`

The important part is that the crash happens **after the Inline RayQuery has already produced a triangle hit**.

The query result is then used to locate the corresponding Inline Ray Tracing metadata record. From that record, UE obtains the bindless Index/Vertex Buffer descriptors required to read the hit geometry.

Conceptually, the failing path is:

```auto
TLAS
  ↓
Inline RayQuery hit
  ↓
Instance / Geometry / Primitive information
  ↓
Inline Ray Tracing metadata
  ↓
Bindless VB / IB descriptor
  ↓
LoadVertexPositionFloat3
  ↓
SourceBuffer.Load
  ↓
GPU Page Fault

```

The crash is more likely to happen during **map/level transitions, heavy streaming, World Partition streaming, or geometry lifetime changes**.

Our current suspicion is a **resource lifetime / residency mismatch**.

A stale Inline metadata record alone should normally not be dangerous if no TLAS still references it. The problematic case would be:

```auto
an in-flight TLAS can still hit an old geometry
        ↓
the corresponding metadata is still reachable
        ↓
the metadata still contains a VB / IB descriptor
        ↓
but the underlying VB / IB has already been
streamed out / evicted / released / reused
        ↓
SourceBuffer.Load
        ↓
GPU Page Fault

```

So the main thing we are trying to confirm is whether there is a lifetime gap between:

`TLAS → Inline Metadata → Bindless Descriptor → VB/IB Resource`

where the underlying geometry resource can become invalid before all GPU work referencing the old TLAS has finished.

We would like to know whether this is a known issue in UE 5.7.4, especially around **Lumen Inline HWRT + RT Geometry residency / streaming / lifetime management**.

---

<div class="post-metadata">

**Author:** ![ShadowBr0kerz](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/shadowbr0kerz/32/1201558_2.png) [@ShadowBr0kerz](https://forums.unrealengine.com/u/ShadowBr0kerz)\
**Post date:** [September 8, 2026, 9:57am UTC](https://forums.unrealengine.com/t/ue-5-7-4-lumen-hwrt-inline-raytracing-gpu-page-fault-during-streaming-geometry-lifetime-changes/2762741/2 "2026-09-08T09:57:56Z")

</div>

your residency theory is right — in-flight TLAS can race the metadata free.

workarounds that help until Epic lands a proper fence: disable inline HWRT and fall back to standard HWRT with r.Lumen.HardwareRayTracing.AllowInline 0, or force TLAS rebuild before streaming heavy WP transitions with r.RayTracing.ForceRebuildTLAS 1 on level load. also try r.LumenScene.Range 8000 to reduce persistent TLAS entries.

and keep ReleaseResource references alive one frame longer — if you have custom primitives doing manual ReleaseResource, defer it by one tick after TLAS rebuild.
