Developer Notes

Workaround: Click 'X' to exit VR preview as opposed to pressing 'escape'

Description

Editor crashes after exiting a play in vr session with -Vulkan enabled

 

Exclusive to Oculus Rift

Steps to Reproduce
  1. Open QAGame in Editor with -Vulkan
  2. Play in VR PReview
  3. Press ESC

 

Expected Result: Play in VR exits cleanly

 

Outcome: crash

Callstack
LoginId:f0cf4f81416964c4b0110db80482c6fe
EpicAccountId:bbaa6651522044aa8d94f1a077cd8139

Fatal error: [File:D:\Dev_VR\Engine\Source\Runtime\VulkanRHI\Private\VulkanUtil.cpp] [Line: 358] VulkanRHI::vkQueueSubmit(Queue, 1, &SubmitInfo, Fence->GetHandle()) failed, VkResult=-4 at D:\Dev_VR\Engine\Source\Runtime\VulkanRHI\Private\VulkanQueue.cpp:70 with error VK_ERROR_DEVICE_LOST

UE4Editor_Core!FDebug::AssertFailed() [d:\dev_vr\engine\source\runtime\core\private\misc\assertionmacros.cpp:419]
UE4Editor_VulkanRHI!VulkanRHI::VerifyVulkanResult() [d:\dev_vr\engine\source\runtime\vulkanrhi\private\vulkanutil.cpp:357]
UE4Editor_VulkanRHI!FVulkanQueue::Submit() [d:\dev_vr\engine\source\runtime\vulkanrhi\private\vulkanqueue.cpp:70]
UE4Editor_VulkanRHI!FVulkanCommandBufferManager::SubmitUploadCmdBuffer() [d:\dev_vr\engine\source\runtime\vulkanrhi\private\vulkancommandbuffer.cpp:270]
UE4Editor_VulkanRHI!FVulkanCommandListContext::RHISetRenderTargets() [d:\dev_vr\engine\source\runtime\vulkanrhi\private\vulkanrendertarget.cpp:322]
UE4Editor_RHI!FRHICommandSetRenderTargets::Execute() [d:\dev_vr\engine\source\runtime\rhi\public\rhicommandlistcommandexecutes.inl:324]
UE4Editor_RHI!FRHICommandListExecutor::ExecuteInner_DoExecute() [d:\dev_vr\engine\source\runtime\rhi\private\rhicommandlist.cpp:286]
UE4Editor_RHI!FExecuteRHIThreadTask::DoTask() [d:\dev_vr\engine\source\runtime\rhi\private\rhicommandlist.cpp:343]
UE4Editor_RHI!TGraphTask<FExecuteRHIThreadTask>::ExecuteTask() [d:\dev_vr\engine\source\runtime\core\public\async\taskgraphinterfaces.h:829]
UE4Editor_Core!FNamedTaskThread::ProcessTasksNamedThread() [d:\dev_vr\engine\source\runtime\core\private\async\taskgraph.cpp:665]
UE4Editor_Core!FNamedTaskThread::ProcessTasksUntilQuit() [d:\dev_vr\engine\source\runtime\core\private\async\taskgraph.cpp:574]
UE4Editor_RenderCore!FRHIThread::Run() [d:\dev_vr\engine\source\runtime\rendercore\private\renderingthread.cpp:280]
UE4Editor_Core!FRunnableThreadWin::Run() [d:\dev_vr\engine\source\runtime\core\private\windows\windowsrunnablethread.cpp:76]

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-53643 in the post.

5
Login to Vote

Fixed
ComponentUE - Platform - XR
Affects Versions4.194.234.22.3
Target Fix4.24
Fix Commit8500280
Main Commit9447833
Release Commit9552237
CreatedDec 22, 2017
ResolvedSep 4, 2019
UpdatedOct 29, 2019