Summary
Likely related to UE-230827: https://issues.unrealengine.com/issue/UE-230827
UE 5.8.4 (++UE5+Release-5.8-CL-58902052), D3D12 SM6: GPU hang (DXGI_ERROR_DEVICE_HUNG) within the first frames after a level loads in the editor. The NVIDIA Aftermath dump points at Nanite culling for virtual shadow maps, which overlaps with Lumen diffuse indirect work on async compute.
Repro project: engine content only. It has no marketplace/Fab plugins and no third-party assets.
Reproduction files (Google Drive)
Both ZIP files can be viewed and downloaded by anyone with the link; no sign-in is required.
- MinRepro58.zip — engine-only reproduction project, 12 MB
- CrashAttachments_Trial11403.zip — Aftermath dump, shader debug info, breadcrumbs and redacted log, 0.3 MB
What Type of Bug are you experiencing?
Rendering (Graphics / Niagara)
Steps to Reproduce
- Open the project with the editor and these command-line arguments:
MinRepro58.uproject /Game/Repro/L_NaniteVsmLumen -dx12 -sm6 -gpucrashdebugging -nvaftermathresources -nvAftermathDumpShaderDebugInfo - Wait about 15 s after the map loads. The hang happens in the first frames or not at all, so if there is no hang, close the editor and relaunch.
Launching without the Aftermath arguments also hangs, but less often. In a heavier version of the config we saw 1/15 without the Aftermath arguments versus 7/15 with them.
Expected Result
The level loads and renders normally in the editor without a GPU hang or device removal, with Nanite VSM and Lumen diffuse indirect async compute enabled.
Observed Result
DXGI_ERROR_DEVICE_HUNG- Aftermath faulting shader:
NodeAndClusterCull,compute_02, PC offset0x79c0or0x83d0. - Occasionally
CullPerPageDrawCommandsCs,compute_02@0x3bb0, which is also a VSM pass. - The fault occurs in frames 0–2 after the level loads.
Affects Versions
5.8
Platform(s)
Windows
For crash reports, include your callstack
GPU crash diagnostics from the attached UnrealEditor_redacted.log (Trial11403). A Crash Reporter CPU callstack is not included in the supplied sanitized artifacts. The following are GPU breadcrumbs and Aftermath diagnostics, not a CPU callstack.
Device 0 Removed: DXGI_ERROR_DEVICE_HUNG
Active GPU breadcrumbs (excerpt; active entries only):
Device 0, Pipeline Graphics:
Frame 0
SceneRender - ViewFamilies
RenderGraphExecute - /ViewFamilies
Scene
ShadowDepths
RenderVirtualShadowMaps(Nanite)
Nanite::DrawGeometry
NoOcclusionPass
InstanceCulling
NodeAndClusterCull
Device 0, Pipeline AsyncCompute:
Frame 0
SceneRender - ViewFamilies
RenderGraphExecute - /ViewFamilies
Scene
LumenSceneLighting PROPAGATE GLOBAL CHANGE!
DirectLighting
Lights
Aftermath:
Status: PageFault
GPU VA: 0x000007000d1a1000
Type: AddressTranslationError
Access: Read
Engine: Graphics
Client: GraphicsProcessingCluster
Resource: <no info>
Active shaders: 1
Shader type: Compute
Function: NodeAndClusterCull
Shader Hash: 5FC38081E183000078B4784F3A12B07D
UE PageFault tracking:
Last completed frame ID: -1 (cached: 0)
Current frame ID: 2
0 active tracked resources in 16 MB of the fault address
0 active heaps containing the fault address
0 released resources containing the fault address during the last 100 frames
The simultaneous active markers describe the state captured at the hang; they do not by themselves prove the causal dependency. The complete GPU breadcrumbs, DRED operations, Aftermath dump and shader debug information are in CrashAttachments_Trial11403.zip.
Additional Notes
Environment
- Windows 11 Pro 10.0.26300
- NVIDIA GeForce RTX 4090, driver 621.24
- UE 5.8.4 binary release, CL 58902052
Project (MinRepro58)
.uprojectenables one plugin: ModelingToolsEditorMode (stock).Config/DefaultEngine.inirenderer settings:r.AllowStaticLighting=False,r.Shadow.Virtual.Enable=1,r.DynamicGlobalIlluminationMethod=1(Lumen),r.ReflectionMethod=1(Lumen),r.GenerateMeshDistanceFields=True. DX12 / SM6.- Map
/Game/Repro/L_NaniteVsmLumen:- a Landscape (flat heightmap, 6 paint layers) and 108 generated Nanite static meshes (
/Game/GenMatched) with engine materials; - a directional light (VSM), a sky light and engine sky/fog actors;
- an EMPTY streaming sublevel
L_NaniteVsmLumen_EmptySub. On frame 0 the log showsULevelStreaming::RequestLevel(...EmptySub) is flushing async loading.
- a Landscape (flat heightmap, 6 paint layers) and 108 generated Nanite static meshes (
- Factors we isolated in earlier versions of this scene:
- Removing the landscape dropped the rate to 0/15.
- Removing the empty streaming sublevel dropped it to 1/30 (versus 11/30 with it).
- Replacing the landscape with Nanite mesh tiles dropped it to about 1/15.
Observed rates (cold editor launches, one editor at a time)
| Configuration | GPU hangs |
|---|---|
| Project as shipped, no extra cvars | 2/15 |
| Attached zip, extracted to a fresh folder, no extra cvars | 2/15 |
r.MegaLights.Allowed=0 added on the command line |
6/30 (pooled over two rounds) |
Every hang has the same signature.
Workaround (validated)
Start with r.Lumen.DiffuseIndirect.AsyncCompute=0 and set it back to 1 after 3 rendered frames.
- Result: 0/30, versus 8/30 without the workaround. One-sided Fisher p≈0.002.
- This points to a missing dependency or synchronization between the Nanite VSM culling passes and the async-compute Lumen passes in the first frames after a load / async-loading flush.
Related
- Possibly the same issue as UE-230827 (https://issues.unrealengine.com/issue/UE-230827): first-frame Nanite VSM
NodeAndClusterCullGPU crash on NVIDIA 30/40 series. As of 2026-11-23 it is marked Duplicate (Target Fix 6.0), and 5.8.4 is still listed as affected. We could not see which issue it was merged into. Epic staff tracked forum thread 2661642 under UE-230827. This report adds an engine-only repro and a validated workaround. - [Gpu hung] RenderVirtualShadowMaps(Nanite) - NodeAndClusterCull
- Turning off
r.RDG.AsyncComputeTransientAliasingwas reported to help. - The first-frame async-Lumen gate in post #11 is equivalent to our workaround.
- Turning off
- [5.8.4] GPU hang (DXGI_ERROR_DEVICE_HUNG) in Nanite MicropolyRasterize with Lumen on async compute — 5.8.4, RTX 3090, same driver family. The hang is usually on the first viewport frame. Disabling Lumen diffuse async (or RDG async) gave 0/13.
Attachments (Google Drive — view/download access)
- MinRepro58.zip (12 MB): .uproject, 5 Config ini, Content/Repro, Content/GenMatched, README.txt.
- CrashAttachments_Trial11403.zip (0.3 MB): Aftermath dump (.nv-gpudmp), shader debug info (.nvdbg), RDG breadcrumbs, UnrealEditor log.
- The log is redacted: user/machine names, machine id, the local project list and the embedded crash context are removed.
- The
py <test-harness>/repro_async_reenable.pyline in the log is our test harness, which only closes the editor after the observation window. It is not needed to reproduce. - The breadcrumbs end at
RenderGraphExecute - CubemapCapture / SceneRender / Frame 1, i.e. the sky light capture on frame 1.