# UE5 Crash on Launch - Error X3004 shader compiling issues

**URL:** <https://forums.unrealengine.com/t/ue5-crash-on-launch-error-x3004-shader-compiling-issues/729194>\
**Category:** Platform & Builds\
**Tags:** unreal-engine, crash, question\
**Created:** [December 15, 2022, 7:54pm UTC](https://forums.unrealengine.com/t/ue5-crash-on-launch-error-x3004-shader-compiling-issues/729194 "2022-12-15T19:54:08Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mauwitzer](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mauwitzer](https://forums.unrealengine.com/u/mauwitzer)\
**Post date:** [December 15, 2022, 7:54pm UTC](https://forums.unrealengine.com/t/ue5-crash-on-launch-error-x3004-shader-compiling-issues/729194/1 "2022-12-15T19:54:09Z")

</div>

Having a hard crash at launch gets to 99% and pukes out every time. Can’t get into the project! Eek! Help!! using UE 5.03

Here is top part of stack dump -  
Fatal error: [File:D:\build++UE5\Sync\Engine\Source\Runtime\Engine\Private\ShaderCompiler\ShaderCompiler.cpp] [Line: 4409] /Engine/Private/ShadowDepthVertexShader.usf(250,26-77): error X3004: undeclared identifier ‘VertexFactoryGetInstanceIdLoadIndex’ /Engine/Private/ShadowDepthVertexShader.usf(208,40-81): error X3004: undeclared identifier ‘VertexFactoryGetViewIndex’ Failed to compile default material /Engine/EngineMaterials/WorldGridMaterial.WorldGridMaterial!

Tried:  
deleting CacheRegistry - nothing.  
opening as different users on different computers - nada.  
Not running version control - yeah I know, not my doing or preference.

Help! Thanks in advance!

---

<div class="post-metadata">

**Author:** ![sanycity](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@sanycity](https://forums.unrealengine.com/u/sanycity)\
**Post date:** [November 28, 2025, 3:21am UTC](https://forums.unrealengine.com/t/ue5-crash-on-launch-error-x3004-shader-compiling-issues/729194/2 "2025-11-28T03:21:36Z")

</div>

Have come into the same issue with my custom vertex factory
