# HLOD build error return code -1073741819!

**URL:** <https://forums.unrealengine.com/t/hlod-build-error-return-code-1073741819/2664272>\
**Category:** Programming & Scripting\
**Tags:** World-Partition, unreal-engine, question\
**Created:** [October 10, 2025, 10:39pm UTC](https://forums.unrealengine.com/t/hlod-build-error-return-code-1073741819/2664272 "2025-10-10T22:39:59Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dj\_fukboi](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Dj\_fukboi](https://forums.unrealengine.com/u/Dj_fukboi)\
**Post date:** [October 10, 2025, 10:40pm UTC](https://forums.unrealengine.com/t/hlod-build-error-return-code-1073741819/2664272/1 "2025-10-10T22:40:00Z")

</div>

hello when building HLOD with commandlet:  
-Unattended -RunningFromUnrealEd -AbsLog  
-run=WorldPartitionBuilderCommandlet -Builder=WorldPartitionHLODsBuilder -SetupHLODs -BuildHLODs -AllowCommandletRendering -d3d12 -FeatureLevel=SM6 -sg.TextureQuality=3 -sg.ShadingQuality=3 -CVARS=“r.TextureStreaming=0 r.VT.ForceHighestResidentMip=1 r.VT.MaxAnisotropy=16 r.VT.PoolSizeScale=2 r.Streaming.LimitPoolSizeToVRAM=0”

i run into this error:

[2025.10.10-22.33.44:595][2]LogAssetRegistry: Display: Asset registry cache written as 1117.4 MiB to ../../../../../../SyncFolder/unreal/workproject/Intermediate/CachedAssetRegistry\_\*.bin  
[2025.10.10-22.34.31:106][2]LogShaderCompilers: Display: Retry shader compiling through workers.  
[2025.10.10-22.34.31:276][2]LogShaderCompilers: Error: ShaderCompileWorker terminated unexpectedly, return code -1073741819! Falling back to directly compiling which will be very slow. Thread 8.  
[2025.10.10-22.34.31:277][2]LogShaderCompilers: Error: SCW 1 Queued Jobs, Unknown number of processed jobs!  
[2025.10.10-22.34.31:277][2]LogShaderCompilers: Error: Job 0 [Single] Failed: FlattenMaterial\_WS\_Normal\_VT\_5900d8d8fbc918c/Default/FNaniteVertexFactory/TBasePassCSFNoLightMapPolicySkylight/0:/Engine/Private/BasePassPixelShader.usf|MainCS VF ‘FNaniteVertexFactory’ Type ‘TBasePassCSFNoLightMapPolicySkylight’ ‘/Engine/Private/BasePassPixelShader.usf’ Entry ‘MainCS’ Permutation 0

the comandlet used to work, any leads? 🙂

i have tried everything 🙂

---

<div class="post-metadata">

**Author:** ![brs-sebascova](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/brs-sebascova/32/1052483_2.png) [@brs-sebascova](https://forums.unrealengine.com/u/brs-sebascova)\
**Post date:** [October 10, 2025, 11:54pm UTC](https://forums.unrealengine.com/t/hlod-build-error-return-code-1073741819/2664272/2 "2025-10-10T23:54:39Z")

</div>

Hello there @Dj_fukboi!

Thank you for the error details. Checking around with my peers, this looks like a shader compiler error, either due a GPU conflict, or the system running out of memory. And it happens while attempting to compile a FlattenMaterial:

```auto
ShaderCompileWorker terminated unexpectedly, return code -1073741819!
...
Job 0 [Single] Failed: FlattenMaterial_WS_Normal_VT_...

```

As for possible causes for conflicts like this, it can be related to drivers, virtual memory, or file corruption. So, let’s take steps to resolve said causes:

- Perform a driver clean up, using any unistaller of your choice, then re-install your drivers with the most stable version available. If you are on nVidia, you can pick Developer drivers, which are best suited for engine work

- Clear up your project’s cache, via deleting folders Saved, Intermediate, and DerivedDataCache from your project’s main directory. After that, re-open UE, and allow the project to regenerate

- Finally, increase your system’s virtual memory:

---

<div class="post-metadata">

**Author:** ![zmcdn](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@zmcdn](https://forums.unrealengine.com/u/zmcdn)\
**Post date:** [January 10, 2026, 3:17am UTC](https://forums.unrealengine.com/t/hlod-build-error-return-code-1073741819/2664272/3 "2026-01-10T03:17:24Z")

</div>

I encountered this exact same issue before and even created a thread about it, though it’s now locked for further replies: [UE5 Hangs When Building HLOD and Minimap - Shader Compilation Error in Log](https://forums.unrealengine.com/t/ue5-hangs-when-building-hlod-and-minimap-shader-compilation-error-in-log/2438804)

I tried several workarounds, including **reinstalling GPU drivers** and **reinstalling build tools** , but none of those worked for me. Ultimately, the only solution that worked was **building Unreal Engine 5 directly from source**. After switching to the source-built version, everything has been running smoothly.
