Hey guys, I’ve noticed Unreal Engine 5 has been crashing. Before, it was crashing all the time, regardless of what was happening, on startup. I resolved that by clearing all the files and subfolders inside of the project’s ‘Content’ folder in file explorer. Now, a new problem is occurring. This doesn’t happen everytime, but when I open up a new menu/ui such as the build menu, while working with blueprints, etc, it crashes. It occurs after about 15 minutes.
Specs:
Ryzen 9 5900x (small overclock)
Rtx 3080 Ti (no overclock, game ready drivers)
32gb G.Skill TridentZ Neo 3600mhz
Windows 11
Temps are good, and nothing else crashes.
Here’s the log: UE5 Crash Log - Google Docs
Any crashdump?
Does Unreal’s Crash window show up when editor crashes? If yes can you copy-paste callstack?
By checking your Crash Log for errors you can find some usefull info there:
Line 2: LogWindows: Failed to load 'aqProf.dll' (GetLastError=126)
Line 5: LogWindows: Failed to load 'VtuneApi.dll' (GetLastError=126)
Line 7: LogWindows: Failed to load 'VtuneApi32e.dll' (GetLastError=126)
Line 556: [2022.08.06-12.43.33:095][ 0]LogTurnkeySupport: Turnkey Platform: Android: (Status=Invalid, Installed=, AutoSDK=, MinAllowed=r21a, MaxAllowed=r23a, Flags="Platform_InvalidHostPrerequisites", Error="Android Studio is not installed correctly.|Android SDK directory is not set correctly.")
Line 647: [2022.08.06-12.43.37:725][ 0]LogLiveCoding: Error: Call to function NtReadVirtualMemory in module ntdll.dll failed. Error: 0x8000000D
Line 682: [2022.08.06-12.43.39:280][ 0]MapCheck: Map check complete: 0 Error(s), 0 Warning(s), took 8.352ms to complete.
Line 719: [2022.08.06-12.43.39:463][ 0]LogFeaturePack: Error: Error in Feature pack C:/Unreal Engine/UE_5.0/FeaturePacks/TP_VirtualRealityBP.upack. Failed to parse manifest: Invalid Json Token. Line: 43 Ch: 4
Line 719: [2022.08.06-12.43.39:463][ 0]LogFeaturePack: Error: Error in Feature pack C:/Unreal Engine/UE_5.0/FeaturePacks/TP_VirtualRealityBP.upack. Failed to parse manifest: Invalid Json Token. Line: 43 Ch: 4
Line 745: [2022.08.06-12.44.38:544][ 42]LoadErrors: New page: Loading map: Level1.umap
Line 765: [2022.08.06-12.44.38:771][ 42]MapCheck: Map check complete: 0 Error(s), 0 Warning(s), took 0.152ms to complete.
Line 1062: [2022.08.06-12.52.09:772][219]LogD3D11RHI: Error: Result failed with error DXGI_ERROR_DEVICE_REMOVED DXGI_ERROR_DRIVER_INTERNAL_ERROR
Line 1065: [2022.08.06-12.52.09:772][219]LogWindows: Windows GetLastError: The operation completed successfully. (0)
I belive that ‘Line 1062’ actually tells what caused this crash:
Error: Result failed with error DXGI_ERROR_DEVICE_REMOVED DXGI_ERROR_DRIVER_INTERNAL_ERROR
According to mr. Google there might be something wrong with drivers of your graphic card or GPU itself.
Thanks man, I’ll try to change my drivers. Also I’ll share the crashdump when I’m back to my computer
Crashdump
LoginId:37d013db43a0147d075a31b99c6a7cb3
EpicAccountId:46955bcfdbe24ee0aa7f454b9aa30417
Fatal error: [File:D:\build++UE5\Sync\Engine\Source\Runtime\Windows\D3D11RHI\Private\D3D11Util.cpp] [Line: 183] Unreal Engine is exiting due to D3D device being lost. (Error: 0x887A0020 - ‘INTERNAL_ERROR’)
UnrealEditor_D3D11RHI!TerminateOnDeviceRemoved() [D:\build++UE5\Sync\Engine\Source\Runtime\Windows\D3D11RHI\Private\D3D11Util.cpp:193]
UnrealEditor_D3D11RHI!VerifyD3D11Result() [D:\build++UE5\Sync\Engine\Source\Runtime\Windows\D3D11RHI\Private\D3D11Util.cpp:257]
UnrealEditor_D3D11RHI!FD3D11DynamicRHI::GetQueryData() [D:\build++UE5\Sync\Engine\Source\Runtime\Windows\D3D11RHI\Private\D3D11Query.cpp:362]
UnrealEditor_D3D11RHI!FD3D11Viewport::WaitForFrameEventCompletion() [D:\build++UE5\Sync\Engine\Source\Runtime\Windows\D3D11RHI\Public\D3D11Viewport.h:79]
UnrealEditor_D3D11RHI!FD3D11DynamicRHI::RHIEndDrawingViewport() [D:\build++UE5\Sync\Engine\Source\Runtime\Windows\D3D11RHI\Private\D3D11Viewport.cpp:791]
UnrealEditor_RHI!FRHICommand<FRHICommandEndDrawingViewport,FRHICommandEndDrawingViewportString1939>::ExecuteAndDestruct() [D:\build++UE5\Sync\Engine\Source\Runtime\RHI\Public\RHICommandList.h:768]
UnrealEditor_RHI!FRHICommandListExecutor::ExecuteInner_DoExecute() [D:\build++UE5\Sync\Engine\Source\Runtime\RHI\Private\RHICommandList.cpp:498]
UnrealEditor_RHI!FRHICommandListExecutor::ExecuteInner() [D:\build++UE5\Sync\Engine\Source\Runtime\RHI\Private\RHICommandList.cpp:804]
UnrealEditor_RHI!FRHICommandListExecutor::ExecuteList() [D:\build++UE5\Sync\Engine\Source\Runtime\RHI\Private\RHICommandList.cpp:855]
UnrealEditor_RHI!FRHICommandList::EndDrawingViewport() [D:\build++UE5\Sync\Engine\Source\Runtime\RHI\Private\RHICommandList.cpp:1769]
UnrealEditor_SlateRHIRenderer!FSlateRHIRenderer::DrawWindow_RenderThread() [D:\build++UE5\Sync\Engine\Source\Runtime\SlateRHIRenderer\Private\SlateRHIRenderer.cpp:1159]
UnrealEditor_SlateRHIRenderer!TEnqueueUniqueRenderCommandType<FSlateRHIRenderer::DrawWindows_Private'::
39’::SlateDrawWindowsCommandName,<lambda_f9feabdceba9d88a5c7b2ca3d59100d9> >::DoTask() [D:\build++UE5\Sync\Engine\Source\Runtime\RenderCore\Public\RenderingThread.h:193]
UnrealEditor_SlateRHIRenderer!TGraphTask<TEnqueueUniqueRenderCommandType<FSlateRHIRenderer::DrawWindows_Private'::
39’::SlateDrawWindowsCommandName,<lambda_f9feabdceba9d88a5c7b2ca3d59100d9> > >::ExecuteTask() [D:\build++UE5\Sync\Engine\Source\Runtime\Core\Public\Async\TaskGraphInterfaces.h:975]
UnrealEditor_Core!FNamedTaskThread::ProcessTasksNamedThread() [D:\build++UE5\Sync\Engine\Source\Runtime\Core\Private\Async\TaskGraph.cpp:753]
UnrealEditor_Core!FNamedTaskThread::ProcessTasksUntilQuit() [D:\build++UE5\Sync\Engine\Source\Runtime\Core\Private\Async\TaskGraph.cpp:642]
UnrealEditor_Core!FTaskGraphCompatibilityImplementation::ProcessThreadUntilRequestReturn() [D:\build++UE5\Sync\Engine\Source\Runtime\Core\Private\Async\TaskGraph.cpp:2115]
UnrealEditor_RenderCore!RenderingThreadMain() [D:\build++UE5\Sync\Engine\Source\Runtime\RenderCore\Private\RenderingThread.cpp:380]
UnrealEditor_RenderCore!FRenderingThread::Run() [D:\build++UE5\Sync\Engine\Source\Runtime\RenderCore\Private\RenderingThread.cpp:527]
UnrealEditor_Core!FRunnableThreadWin::Run() [D:\build++UE5\Sync\Engine\Source\Runtime\Core\Private\Windows\WindowsRunnableThread.cpp:146]
Hey @jomskarlsefni,
This is a “Callstack” not a Crashdump, but I think crashdump won’t be needed 
And yea, it kinda confirms that there is something wrong with your GPU or GPU drivers.
With those:
Unreal Engine is exiting due to D3D device being lost.
Error: Result failed with error DXGI_ERROR_DEVICE_REMOVED DXGI_ERROR_DRIVER_INTERNAL_ERROR
You can try googling this issue and start troubleshooting it.
It seems to be pretty generic problem so I cannot directly point you to the correct solution.
Hope some of those will help you:
firstly
are you compiling for android or win 64
because you obviously have android as a target platform and you don’t have android studio installed as it says.
remove platforms you are not building for
if you are building for android then you haven’t got the jdk, jre, android studio4, sdk, ndk, etc set up correctly.
every windows update you need to reinstall your gfx drivers.
the ```
TP_VirtualRealityBP
is also choking