VR DirectX11 (Mobile ES3.1) crashes

Built game crashes after loading the streaming level in VR (also sometimes it crashes after some time after launching the game). I’m launching with dx11 (Using Mobile ES2). Unreal Engine 5.5.4

Here is an end of log:

[2025.06.06-10.31.37:475][924]LogD3D11RHI: GetQueryData is taking a very long time (5.0 s) (00000000)
[2025.06.06-10.31.37:475][924]LogD3D11RHI: Timed out while waiting for GPU query. (Timeout 5.0 s) (ErrorCode 00000001)
[2025.06.06-10.31.47:633][924]LogD3D11RHI: Error: Context->Map(StagedRead, 0, D3D11_MAP_READ, 0, &MappedSubresource) failed with error DXGI_ERROR_DEVICE_REMOVED
 at D:\build\++UE5\Sync\Engine\Source\Runtime\Windows\D3D11RHI\Private\D3D11Commands.cpp:1606
[2025.06.06-10.31.48:053][924]LogWindows: FPlatformMisc::RequestExit(0, WindowsPlatformCrashContext.ReportGPUCrash)
[2025.06.06-10.31.48:054][924]LogWindows: FPlatformMisc::RequestExitWithStatus(0, 0, WindowsPlatformCrashContext.ReportGPUCrash)
[2025.06.06-10.31.48:054][924]LogCore: Engine exit requested (reason: Win RequestExit)
[2025.06.06-10.31.48:054][924]LogWindows: Error: appError called: Fatal error: [File:D:\build\++UE5\Sync\Engine\Source\Runtime\Windows\D3D11RHI\Private\D3D11Util.cpp] [Line: 126] 
Unreal Engine is exiting due to D3D device being lost. D3D device was not available to determine DXGI cause.



[2025.06.06-10.31.48:054][924]LogWindows: Windows GetLastError: The operation completed successfully. (0)
[2025.06.06-10.31.48:058][924]LogWindows: FPlatformMisc::RequestExit(0, WindowsPlatformCrashContext.ReportGPUCrash)
[2025.06.06-10.31.48:058][924]LogWindows: FPlatformMisc::RequestExitWithStatus(0, 0, WindowsPlatformCrashContext.ReportGPUCrash)
[2025.06.06-10.31.48:058][924]LogCore: Engine exit requested (reason: Win RequestExit; note: exit was already requested)
[2025.06.06-10.31.48:058][924]LogWindows: Error: Error reentered: Fatal error: [File:D:\build\++UE5\Sync\Engine\Source\Runtime\Windows\D3D11RHI\Private\D3D11Util.cpp] [Line: 203] 
Context->Map(StagedRead, 0, D3D11_MAP_READ, 0, &MappedSubresource) failed with error DXGI_ERROR_DEVICE_REMOVED
 at D:\build\++UE5\Sync\Engine\Source\Runtime\Windows\D3D11RHI\Private\D3D11Commands.cpp:1606



[2025.06.06-10.31.48:070][924]LogWindows: FPlatformMisc::RequestExit(0, WindowsPlatformCrashContext.ReportGPUCrash)
[2025.06.06-10.31.48:070][924]LogWindows: FPlatformMisc::RequestExitWithStatus(0, 0, WindowsPlatformCrashContext.ReportGPUCrash)
[2025.06.06-10.31.48:070][924]LogCore: Engine exit requested (reason: Win RequestExit; note: exit was already requested)
[2025.06.06-10.31.48:085][924]LogD3D11RHI: Error: Result failed with error DXGI_ERROR_DEVICE_REMOVED DXGI_ERROR_DEVICE_HUNG
 at D:\build\++UE5\Sync\Engine\Source\Runtime\Windows\D3D11RHI\Private\D3D11Query.cpp:366
[2025.06.06-10.31.48:085][924]LogWindows: FPlatformMisc::RequestExit(0, WindowsPlatformCrashContext.ReportGPUCrash)
[2025.06.06-10.31.48:085][924]LogWindows: FPlatformMisc::RequestExitWithStatus(0, 0, WindowsPlatformCrashContext.ReportGPUCrash)
[2025.06.06-10.31.48:085][924]LogCore: Engine exit requested (reason: Win RequestExit; note: exit was already requested)
[2025.06.06-10.31.48:085][924]LogWindows: Error: Error reentered: Fatal error: [File:D:\build\++UE5\Sync\Engine\Source\Runtime\Windows\D3D11RHI\Private\D3D11Util.cpp] [Line: 122] 
Unreal Engine is exiting due to D3D device being lost. (Error: 0x887A0006 - 'HUNG')



[2025.06.06-10.31.48:085][924]LogWindows: FPlatformMisc::RequestExit(0, WindowsPlatformCrashContext.ReportGPUCrash)
[2025.06.06-10.31.48:085][924]LogWindows: FPlatformMisc::RequestExitWithStatus(0, 0, WindowsPlatformCrashContext.ReportGPUCrash)
[2025.06.06-10.31.48:085][924]LogCore: Engine exit requested (reason: Win RequestExit; note: exit was already requested)
[2025.06.06-10.31.48:085][924]LogWindows: Error: Error reentered: Fatal error: [File:D:\build\++UE5\Sync\Engine\Source\Runtime\Windows\D3D11RHI\Private\D3D11Util.cpp] [Line: 203] 
Result failed with error DXGI_ERROR_DEVICE_REMOVED DXGI_ERROR_DEVICE_HUNG
 at D:\build\++UE5\Sync\Engine\Source\Runtime\Windows\D3D11RHI\Private\D3D11Query.cpp:366



[2025.06.06-10.31.48:085][924]LogWindows: FPlatformMisc::RequestExit(0, WindowsPlatformCrashContext.ReportGPUCrash)
[2025.06.06-10.31.48:085][924]LogWindows: FPlatformMisc::RequestExitWithStatus(0, 0, WindowsPlatformCrashContext.ReportGPUCrash)
[2025.06.06-10.31.48:085][924]LogCore: Engine exit requested (reason: Win RequestExit; note: exit was already requested)
[2025.06.06-10.31.48:085][924]LogD3D11RHI: Error: Result failed with error DXGI_ERROR_DEVICE_REMOVED DXGI_ERROR_DEVICE_HUNG
 at D:\build\++UE5\Sync\Engine\Source\Runtime\Windows\D3D11RHI\Private\D3D11Query.cpp:366
[2025.06.06-10.31.48:085][924]LogWindows: FPlatformMisc::RequestExit(0, WindowsPlatformCrashContext.ReportGPUCrash)
[2025.06.06-10.31.48:085][924]LogWindows: FPlatformMisc::RequestExitWithStatus(0, 0, WindowsPlatformCrashContext.ReportGPUCrash)
[2025.06.06-10.31.48:085][924]LogCore: Engine exit requested (reason: Win RequestExit; note: exit was already requested)
[2025.06.06-10.31.48:085][924]LogWindows: Error: Error reentered: Fatal error: [File:D:\build\++UE5\Sync\Engine\Source\Runtime\Windows\D3D11RHI\Private\D3D11Util.cpp] [Line: 122] 
Unreal Engine is exiting due to D3D device being lost. (Error: 0x887A0006 - 'HUNG')



[2025.06.06-10.31.48:085][924]LogWindows: FPlatformMisc::RequestExit(0, WindowsPlatformCrashContext.ReportGPUCrash)
[2025.06.06-10.31.48:085][924]LogWindows: FPlatformMisc::RequestExitWithStatus(0, 0, WindowsPlatformCrashContext.ReportGPUCrash)
[2025.06.06-10.31.48:085][924]LogCore: Engine exit requested (reason: Win RequestExit; note: exit was already requested)
[2025.06.06-10.31.48:085][924]LogWindows: Error: Error reentered: Fatal error: [File:D:\build\++UE5\Sync\Engine\Source\Runtime\Windows\D3D11RHI\Private\D3D11Util.cpp] [Line: 203] 
Result failed with error DXGI_ERROR_DEVICE_REMOVED DXGI_ERROR_DEVICE_HUNG
 at D:\build\++UE5\Sync\Engine\Source\Runtime\Windows\D3D11RHI\Private\D3D11Query.cpp:366



[2025.06.06-10.31.48:085][924]LogWindows: FPlatformMisc::RequestExit(0, WindowsPlatformCrashContext.ReportGPUCrash)
[2025.06.06-10.31.48:085][924]LogWindows: FPlatformMisc::RequestExitWithStatus(0, 0, WindowsPlatformCrashContext.ReportGPUCrash)
[2025.06.06-10.31.48:085][924]LogCore: Engine exit requested (reason: Win RequestExit; note: exit was already requested)
[2025.06.06-10.31.48:085][924]LogD3D11RHI: Error: Result failed with error DXGI_ERROR_DEVICE_REMOVED DXGI_ERROR_DEVICE_HUNG
 at D:\build\++UE5\Sync\Engine\Source\Runtime\Windows\D3D11RHI\Private\D3D11Query.cpp:366
[2025.06.06-10.31.48:085][924]LogWindows: FPlatformMisc::RequestExit(0, WindowsPlatformCrashContext.ReportGPUCrash)
[2025.06.06-10.31.48:085][924]LogWindows: FPlatformMisc::RequestExitWithStatus(0, 0, WindowsPlatformCrashContext.ReportGPUCrash)
[2025.06.06-10.31.48:085][924]LogCore: Engine exit requested (reason: Win RequestExit; note: exit was already requested)
[2025.06.06-10.31.48:085][924]LogWindows: Error: Error reentered: Fatal error: [File:D:\build\++UE5\Sync\Engine\Source\Runtime\Windows\D3D11RHI\Private\D3D11Util.cpp] [Line: 122] 
Unreal Engine is exiting due to D3D device being lost. (Error: 0x887A0006 - 'HUNG')



[2025.06.06-10.31.48:085][924]LogWindows: FPlatformMisc::RequestExit(0, WindowsPlatformCrashContext.ReportGPUCrash)
[2025.06.06-10.31.48:085][924]LogWindows: FPlatformMisc::RequestExitWithStatus(0, 0, WindowsPlatformCrashContext.ReportGPUCrash)
[2025.06.06-10.31.48:085][924]LogCore: Engine exit requested (reason: Win RequestExit; note: exit was already requested)
[2025.06.06-10.31.48:085][924]LogWindows: Error: Error reentered: Fatal error: [File:D:\build\++UE5\Sync\Engine\Source\Runtime\Windows\D3D11RHI\Private\D3D11Util.cpp] [Line: 203] 
Result failed with error DXGI_ERROR_DEVICE_REMOVED DXGI_ERROR_DEVICE_HUNG
 at D:\build\++UE5\Sync\Engine\Source\Runtime\Windows\D3D11RHI\Private\D3D11Query.cpp:366



[2025.06.06-10.31.48:085][924]LogWindows: FPlatformMisc::RequestExit(0, WindowsPlatformCrashContext.ReportGPUCrash)
[2025.06.06-10.31.48:085][924]LogWindows: FPlatformMisc::RequestExitWithStatus(0, 0, WindowsPlatformCrashContext.ReportGPUCrash)
[2025.06.06-10.31.48:085][924]LogCore: Engine exit requested (reason: Win RequestExit; note: exit was already requested)
[2025.06.06-10.31.48:085][924]LogD3D11RHI: Error: Result failed with error DXGI_ERROR_DEVICE_REMOVED DXGI_ERROR_DEVICE_HUNG
 at D:\build\++UE5\Sync\Engine\Source\Runtime\Windows\D3D11RHI\Private\D3D11Query.cpp:366
[2025.06.06-10.31.48:085][924]LogWindows: FPlatformMisc::RequestExit(0, WindowsPlatformCrashContext.ReportGPUCrash)
[2025.06.06-10.31.48:085][924]LogWindows: FPlatformMisc::RequestExitWithStatus(0, 0, WindowsPlatformCrashContext.ReportGPUCrash)
[2025.06.06-10.31.48:085][924]LogCore: Engine exit requested (reason: Win RequestExit; note: exit was already requested)
[2025.06.06-10.31.48:085][924]LogWindows: Error: Error reentered: Fatal error: [File:D:\build\++UE5\Sync\Engine\Source\Runtime\Windows\D3D11RHI\Private\D3D11Util.cpp] [Line: 122] 
Unreal Engine is exiting due to D3D device being lost. (Error: 0x887A0006 - 'HUNG')



[2025.06.06-10.31.48:085][924]LogWindows: FPlatformMisc::RequestExit(0, WindowsPlatformCrashContext.ReportGPUCrash)
[2025.06.06-10.31.48:085][924]LogWindows: FPlatformMisc::RequestExitWithStatus(0, 0, WindowsPlatformCrashContext.ReportGPUCrash)
[2025.06.06-10.31.48:085][924]LogCore: Engine exit requested (reason: Win RequestExit; note: exit was already requested)
[2025.06.06-10.31.48:085][924]LogWindows: Error: Error reentered: Fatal error: [File:D:\build\++UE5\Sync\Engine\Source\Runtime\Windows\D3D11RHI\Private\D3D11Util.cpp] [Line: 203] 
Result failed with error DXGI_ERROR_DEVICE_REMOVED DXGI_ERROR_DEVICE_HUNG
 at D:\build\++UE5\Sync\Engine\Source\Runtime\Windows\D3D11RHI\Private\D3D11Query.cpp:366



[2025.06.06-10.31.48:085][924]LogWindows: FPlatformMisc::RequestExit(0, WindowsPlatformCrashContext.ReportGPUCrash)
[2025.06.06-10.31.48:085][924]LogWindows: FPlatformMisc::RequestExitWithStatus(0, 0, WindowsPlatformCrashContext.ReportGPUCrash)
[2025.06.06-10.31.48:085][924]LogCore: Engine exit requested (reason: Win RequestExit; note: exit was already requested)
[2025.06.06-10.31.48:085][924]LogD3D11RHI: Error: Result failed with error DXGI_ERROR_DEVICE_REMOVED DXGI_ERROR_DEVICE_HUNG
 at D:\build\++UE5\Sync\Engine\Source\Runtime\Windows\D3D11RHI\Private\D3D11Query.cpp:366
[2025.06.06-10.31.48:085][924]LogWindows: FPlatformMisc::RequestExit(0, WindowsPlatformCrashContext.ReportGPUCrash)
[2025.06.06-10.31.48:085][924]LogWindows: FPlatformMisc::RequestExitWithStatus(0, 0, WindowsPlatformCrashContext.ReportGPUCrash)
[2025.06.06-10.31.48:085][924]LogCore: Engine exit requested (reason: Win RequestExit; note: exit was already requested)
[2025.06.06-10.31.48:085][924]LogWindows: Error: Error reentered: Fatal error: [File:D:\build\++UE5\Sync\Engine\Source\Runtime\Windows\D3D11RHI\Private\D3D11Util.cpp] [Line: 122] 
Unreal Engine is exiting due to D3D device being lost. (Error: 0x887A0006 - 'HUNG')



[2025.06.06-10.31.48:085][924]LogWindows: FPlatformMisc::RequestExit(0, WindowsPlatformCrashContext.ReportGPUCrash)
[2025.06.06-10.31.48:085][924]LogWindows: FPlatformMisc::RequestExitWithStatus(0, 0, WindowsPlatformCrashContext.ReportGPUCrash)
[2025.06.06-10.31.48:085][924]LogCore: Engine exit requested (reason: Win RequestExit; note: exit was already requested)
[2025.06.06-10.31.48:085][924]LogWindows: Error: Error reentered: Fatal error: [File:D:\build\++UE5\Sync\Engine\Source\Runtime\Windows\D3D11RHI\Private\D3D11Util.cpp] [Line: 203] 
Result failed with error DXGI_ERROR_DEVICE_REMOVED DXGI_ERROR_DEVICE_HUNG
 at D:\build\++UE5\Sync\Engine\Source\Runtime\Windows\D3D11RHI\Private\D3D11Query.cpp:366



[2025.06.06-10.31.48:085][924]LogWindows: FPlatformMisc::RequestExit(0, WindowsPlatformCrashContext.ReportGPUCrash)
[2025.06.06-10.31.48:086][924]LogWindows: FPlatformMisc::RequestExitWithStatus(0, 0, WindowsPlatformCrashContext.ReportGPUCrash)
[2025.06.06-10.31.48:086][924]LogCore: Engine exit requested (reason: Win RequestExit; note: exit was already requested)
[2025.06.06-10.31.48:086][924]LogWindows: Error: === Critical error: ===
[2025.06.06-10.31.48:086][924]LogWindows: Error: 
[2025.06.06-10.31.48:086][924]LogWindows: Error: Fatal error: [File:D:\build\++UE5\Sync\Engine\Source\Runtime\Windows\D3D11RHI\Private\D3D11Util.cpp] [Line: 203] 
[2025.06.06-10.31.48:086][924]LogWindows: Error: Result failed with error DXGI_ERROR_DEVICE_REMOVED DXGI_ERROR_DEVICE_HUNG
[2025.06.06-10.31.48:086][924]LogWindows: Error:  at D:\build\++UE5\Sync\Engine\Source\Runtime\Windows\D3D11RHI\Private\D3D11Query.cpp:366
[2025.06.06-10.31.48:086][924]LogWindows: Error: 
[2025.06.06-10.31.48:086][924]LogWindows: Error: 
[2025.06.06-10.31.48:086][924]LogWindows: Error: 

Update: when launching with -emulatestereo (and with -dx11) game crashes instantly.

Assertion failed: Shader.IsValid() [File:D:\build\++UE5\Sync\Engine\Source\Runtime\RenderCore\Public\GlobalShader.h] [Line: 237] 
Failed to find shader type FScreenUnwrapSlicesPS in Platform PCD3D_ES31


Project_F!FFakeStereoRenderingDevice::RenderTexture_RenderThread()
Project_F!TBaseUObjectMethodDelegateInstance<0,USlateFXSubsystem,void __cdecl(UWorld * __ptr64,bool,bool),FDefaultDelegateUserPolicy>::Execute()
Project_F!FRDGBuilder::ExecutePass()
Project_F!FRDGBuilder::ExecuteSerialPass()
Project_F!FRDGBuilder::Execute()
Project_F!FSlateRHIRenderer::DrawWindows_RenderThread()
Project_F!`FComputeShaderUtils::AddPass<FCompositeCS>'::`2'::<lambda_1>::operator()()
Project_F!TBaseUObjectMethodDelegateInstance<0,USlateFXSubsystem,void __cdecl(UWorld * __ptr64,bool,bool),FDefaultDelegateUserPolicy>::ExecuteIfSafe()
Project_F!UE::Tasks::Private::FTaskBase::TryExecuteTask()
Project_F!FNamedTaskThread::ProcessTasksNamedThread()
Project_F!FNamedTaskThread::ProcessTasksUntilQuit()
Project_F!RenderingThreadMain()
Project_F!FRenderingThread::Run()
Project_F!FRunnableThreadWin::Run()

directx12 and vulkan still work fine.