# Crash in Nanite::DispatchBasePass 

**URL:** <https://forums.unrealengine.com/t/crash-in-nanite-dispatchbasepass/2709333>\
**Category:** Rendering\
**Tags:** Epic-Pro-Support, unreal-engine, question\
**Created:** [February 23, 2026, 11:31am UTC](https://forums.unrealengine.com/t/crash-in-nanite-dispatchbasepass/2709333 "2026-02-23T11:31:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous-edc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous-edc](https://forums.unrealengine.com/u/anonymous-edc)\
**Post date:** [February 23, 2026, 11:31am UTC](https://forums.unrealengine.com/t/crash-in-nanite-dispatchbasepass/2709333/1 "2026-02-23T11:31:28Z")

</div>

I’m trying to solve a relatively rare crash that has been reported by our graphics artists. I wasn’t able to debug the crash in natura, but we did get the call stacks.

It appears to me that:

- Nanite::BuildShadingCommands()
  - spawns ShadingCommands.SetupTask
  - spawns ShadingCommands.BuildCommandsTask
    - which modifies ShadingCommands.Commands

- Nanite::DispatchBasePass
  - waits for ShadingCommands.SetupTask
  - DOES NOT wait for ShadingCommands.BuildCOmmandsTask
  - reads ShadingCommands.Commands

My fix: at the beginning of Nanite::DispatchBasePass, right after

```auto
ShadingCommands.SetupTask.Wait();

```

I have added

```auto
ShadingCommands.BuildCommandsTask.Wait();

```

That seems to have fixed the problem, however due to the relative rarity of the crash I can’t be sure.

Can you confirm that this fix makes sense and eventually integrate it?

\<

---

<div class="post-metadata">

**Author:** ![HenryLiu\_P](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@HenryLiu\_P](https://forums.unrealengine.com/u/HenryLiu_P)\
**Post date:** [February 25, 2026, 10:06pm UTC](https://forums.unrealengine.com/t/crash-in-nanite-dispatchbasepass/2709333/2 "2026-02-25T22:06:22Z")

</div>

Hi there,

Thank you for the report.

I have submitted a new bug report for this issue, and once it is reflected publicly, you will be able to view it here:

[https://issues.unrealengine.com/issue/UE-367483](https://issues.unrealengine.com/issue/UE-367483)

Your proposed fix is logically sound and could serve as a temporary workaround. An engine developer will review the issue in more detail and may determine a more robust solution for resolving the Commands data dependency.

While we’re unable to provide direct updates on EPS, you can monitor any progress through the public issue tracker linked above. I will go ahead and close this case now, but feel free to respond here if you have any follow up questions.

Thanks,

Henry Liu
