Crashing when opening a new project. Stuck on compiling files

So I just downloaded Unreal today and was excited to get started and check out Metahumans but I keep crashing during the “45% Compiling shaders” even when loading a blank project. Anyone run into this before or have any solutions?

Assertion failed: uint32(Allocation.BaseIndex + Allocation.Size) <= StructMetaData.GetSize() [File:D:\build++UE5\Sync\Engine\Source\Runtime\RenderCore\Private\ShaderParameterStruct.cpp] [Line: 276]

UnrealEditor_RenderCore
UnrealEditor_Renderer
UnrealEditor_Engine
UnrealEditor_Engine
UnrealEditor_Engine
UnrealEditor_Engine
UnrealEditor_Engine
UnrealEditor_Engine
UnrealEditor_Engine
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_Engine
UnrealEditor_Engine
UnrealEditor_Engine
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_Engine
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor
UnrealEditor
UnrealEditor
UnrealEditor
UnrealEditor
UnrealEditor
kernel32
ntdll

PC Specs:

i9 14900-k
Gigabyte RTX 4090
64 GB DDR5 RAM
ASUS ROG Z790-A MOBO

2 Likes

what are you trying to use, the blueprint or cpp version?

try verifying the files and check if you have visual studio 2022

I have the same issue with 5.4 and have not found a workaround other than launching with DirectX 11 (-dx11). When I was running 5.4 Preview it worked fine with my demo projects but with the 5.4.0 release (and I re-tested with 5.4.1) I got the same error every time. I can do a new project as BP or CPP, existing projects from 5.3 or 5.4 preview, and they all crash. The only way around it that I have found is to launch the editor with -dx11.

Windows 11 21H2
i10900k
Asus Maximus XII Formula
Asus Strix RTX-3090
Nvidia drivers 552.22 (I tried a few past releases too which didn’t help).

I tried verifying/repairing the 5.4 install and I also completely removed and re-installed it, but nothing seems to work.

Does anyone else have any tips or suggestions on figuring out a solution to this?

1 Like

I’m also getting this issue with all versions of 5.4.

I’ve tried rolling back to the release version via source builds and still no luck.

So an update on my progress with this issue… I setup a fresh windows 11 on 23H2 (previously on 21H2) and then installed Epic Games Launcher and Unreal 5.4.2 and it works just fine in that windows install. My windows unreal 5.4.2 is still broken. I’m trying to compare what may be different between the two to pin-point the exact root cause.

@eddzoh This worked for me on same crash with every project i tried to open on 5.4 “delete all from directory C:\Users\UserName\AppData\Local\UnrealEngine

5 Likes

thanx a lot,this worked perfectly.Problem solved :clap:

@Wolf_88 thanx a lot,this worked perfectly.Problem solved