unreal editor crash and its going to make me crazy

hi im new to unreal engine. unreal 5.1.1 works great on my laptop until last week and after that this error apears when i try to open a project or even when i try to make a blank project and i cant do anything. i almost try anything (upgrading nvidia driver, windows, directx…) but nothing works… please please help me to solve this.

Assertion failed: SizeInfo.ResultSize != 0 [File:D:\build++UE5\Sync\Engine\Source\Runtime\D3D12RHI\Private\D3D12RayTracing.cpp] [Line: 3381] Unexpected acceleration structure buffer size (0). Geometry initializer details: DebugName=PlanarReflectionPlane NumSegments=1 NumPrims=2048 IndexStride=2

UnrealEditor_D3D12RHI
UnrealEditor_RenderCore
UnrealEditor_RenderCore
UnrealEditor_RenderCore
UnrealEditor_Engine
UnrealEditor_Engine
UnrealEditor_Engine
UnrealEditor_Engine
UnrealEditor_Engine
UnrealEditor_CoreUObject
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

my laptop is dell precision 7740 with 32G ram and NVIDIA Quadro RTX5000 16G graphic card.

as u can see in this link i cant open the project setting

https://streamable.com/8jlbtv

hi @LordAzad ,
You have a similar problem with DX12 being the default for 5.3 now instead of DX11.
The user has a Dell with similar problem and I posted a fix in post
Warning: Known issues with intel graphics driver - General / Feedback & Requests - Epic Developer Community Forums (unrealengine.com)

1 Like

thanks for your replay but i dont know what should i do with this file exactly. can u please tell me what i have to add or remove from baseEngine.ini

You need to change the Base system on startup then
go
notepad C:\Program Files\Epic Games\UE_5.1\Engine\Config\BaseEngine.ini
Control+F find “WindowsTargetSettings” at line 2874

[/Script/WindowsTargetPlatform.WindowsTargetSettings]
+D3D12TargetedShaderFormats=PCD3D_SM5
+D3D11TargetedShaderFormats=PCD3D_SM5
bEnableDistanceFields=true
bEnableRayTracing=true
bTarget32Bit=false

Add the line

DefaultGraphicsRHI=DefaultGraphicsRHI_DX11

so this looks like

[/Script/WindowsTargetPlatform.WindowsTargetSettings]
DefaultGraphicsRHI=DefaultGraphicsRHI_DX11

Save the file on closing notepad and restart UE Editor.
You system now uses DefaultGraphicsRHI_DX11
in Project Properties go Platforms, go to Windows select Default RHI to be DirectX11 from DirectX12 and click ok to save
It suggests to do the following.
switch to SM6 to solve the problem—go to Project Settings → Platforms → Windows → D3D12 Targeted Shader Format → SM6

1 Like

Hey i found a solution to this as just switching to direct x 11 in project settings. not sure why thats the issue but it fixed the crashing in blueprints window

i done it before but not working :frowning:

hey. as u can see in this link i cant open the project setting

https://streamable.com/8jlbtv

hi @LordAzad
You need to make changes by going to you project root
Go to directory
C:\Users\Owner\Documents\Unreal Projects\MyProject2\Config
where Owner is your Username

In there right click DefaultEngine.ini

set the text to
[/Script/WindowsTargetPlatform.WindowsTargetSettings]
DefaultGraphicsRHI=DefaultGraphicsRHI_DX11
-D3D12TargetedShaderFormats=PCD3D_SM5
+D3D12TargetedShaderFormats=PCD3D_SM6
-D3D11TargetedShaderFormats=PCD3D_SM5
+D3D11TargetedShaderFormats=PCD3D_SM5

Change the
DefaultGraphicsRHI_DX12
to
DefaultGraphicsRHI_DX11
Save and exit the file
Reload the project and hopefully it works with DirectX11 drivers

the loading stack at this stage and then crash report apears :frowning:

IT WORKS IT WORKS thank you so much :kissing_heart: :smiling_face_with_tear:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.