I installed UE5.2, started a new project with the VR Template and consistently after 10 minutes the Editor window just closes (no crash report window) and I get this in the log:
LogHMD: FOpenXRHMD is requesting app exit. CurrentSessionState: XR_SESSION_STATE_UNKNOWN
That is, opening that project, doing nothing, after 10 minutes editor closes.
SteamVR is not open, I have the latest Nvidia drivers.
Does anyone have any leads to what this could be? Thanks!
Other Log lines:
[2023.08.11-18.34.27:403][ 0]LogHMD: OpenXRHMDModule::InitInstance using DefaultLoader.
[2023.08.11-18.34.27:415][ 0]LogHMD: Optional extension XR_KHR_vulkan_swapchain_format_list is not available
[2023.08.11-18.34.27:415][ 0]LogHMD: Optional extension XR_VARJO_quad_views is not available
[2023.08.11-18.34.27:415][ 0]LogHMD: Optional extension XR_EPIC_view_configuration_fov is not available
[2023.08.11-18.34.28:335][ 0]LogHMD: Initialized OpenXR on SteamVR/OpenXR runtime version 1.26.7
…
[2023.08.11-18.34.30:423][ 0]LogHMD: HMD configured for shader platform PCD3D_SM6, bIsMobileMultiViewEnabled=0, bProjectionLayerAlphaEnabled=0
…
[2023.08.11-18.34.31:965][ 0]LogContentStreaming: Texture pool size now 1000 MB
[2023.08.11-18.34.31:995][ 0]LogViewport: Scene viewport resized to 3223x1174, mode Windowed.
[2023.08.11-18.34.32:004][ 1]LogAutomationController: Ignoring very large delta of 16787837.78 seconds in calls to FAutomationControllerManager::Tick() and not penalizing unresponsive tests
[2023.08.11-18.34.32:049][ 2]LogSlate: Took 0.000082 seconds to synchronously load lazily loaded font ‘…/…/…/Engine/Content/Slate/Fonts/Roboto-Regular.ttf’ (155K)
[2023.08.11-18.34.32:693][ 3]LogWorldSubsystemInput: UEnhancedInputDeveloperSettings::bEnableWorldSubsystem is false, the world subsystem will not be created!
[2023.08.11-18.34.56:385][ 75]LogWorldSubsystemInput: UEnhancedInputDeveloperSettings::bEnableWorldSubsystem is false, the world subsystem will not be created!
[2023.08.11-18.36.42:651][394]LogDerivedDataCache: C:/Users/XYZ/AppData/Local/UnrealEngine/Common/DerivedDataCache: Maintenance finished in +00:00:16.012 and deleted 0 files with total size 0 MiB and 0 empty folders. Scanned 15655 files in 2745 folders with total size 7634 MiB.
[2023.08.11-18.44.29:504][394]LogHMD: FOpenXRHMD is requesting app exit. CurrentSessionState: XR_SESSION_STATE_UNKNOWN
Those are the last lines. Note the 10 miunute gap from the last initialization lines (3rd last) to the last message
I might have found the root issue.
In the SteamVR settings under the category “Startup/Shutdown” I had the setting “Exit SteamVR after” set to 10 minutes. After changing that to “Never” UE didn’t suddenly disappear anymore.