Open WhitleyStriber opened 9 months ago
I just ran into the same behavior using beta 2.3.1 and noticed that the SteamVR info panel still shows Now Playing <your_ue_project_name>
when exiting the first VR preview window. The VR View is reset though.
The web console provides the following logs when exiting the VR preview from Unreal:
xrclient_UnrealEditorTue Jan 16 2024 11:01:46.048152 [Info] - Transitioning XrSession from XR_SESSION_STATE_VISIBLE to XR_SESSION_STATE_SYNCHRONIZED
xrclient_UnrealEditorTue Jan 16 2024 11:01:46.048224 [Info] - Transitioning XrSession from XR_SESSION_STATE_SYNCHRONIZED to XR_SESSION_STATE_STOPPING
xrclient_UnrealEditorTue Jan 16 2024 11:01:46.052675 [Info] - Transitioning XrSession from XR_SESSION_STATE_STOPPING to XR_SESSION_STATE_IDLE
xrclient_UnrealEditorTue Jan 16 2024 11:01:46.052733 [Info] - Transitioning XrSession from XR_SESSION_STATE_IDLE to XR_SESSION_STATE_EXITING
vrserverTue Jan 16 2024 11:01:46.053251 [Info] - [OpenXR] No manifest. Clearing input data: system.generated.openxr.<my_UE_project_name>.unrealeditor.
xrclient_UnrealEditorTue Jan 16 2024 11:01:46.072028 [Info] - Changing app type from VRApplication_OpenXRScene to VRApplication_OpenXRInstance
vrserverTue Jan 16 2024 11:01:46.072113 [Info] - AppInfoManager.ProcessQuit processid=15117 eLaunchingApp=LaunchingApp_None
vrserverTue Jan 16 2024 11:01:46.072151 [Info] - AppInfoManager.ProcessQuit: Clearing application system.generated.openxr.<my_UE_project_name>.unrealeditor PID was 15117
vrserverTue Jan 16 2024 11:01:46.072169 [Info] - AppInfoManager.ProcessQuit: Clearing application system.generated.openxr.<my_UE_project_name>.unrealeditor PID because 15117 has exited
vrserverTue Jan 16 2024 11:01:46.072267 [Info] - AppInfoManager.ProcessConnected BEGIN 15117 /home/mrothgaenger/dev/Linux_Unreal_Engine_5.3.2/Engine/Binaries/Linux/UnrealEditor 9 system.generated.openxr.<my_UE_project_name>.unrealeditor
vrserverTue Jan 16 2024 11:01:46.072307 [Info] - SetApplicationPid appkey=system.generated.openxr.<my_UE_project_name>.unrealeditor pid=15117, external transition
vrserverTue Jan 16 2024 11:01:46.072337 [Info] - SetApplicationPid: Setting app system.generated.openxr.<my_UE_project_name>.unrealeditor PID to 15117
vrserverTue Jan 16 2024 11:01:46.072376 [Info] - AppInfoManager.ProcessConnected END
xrclient_UnrealEditorTue Jan 16 2024 11:01:46.072102 [Info] - Received message of type 1107 when 121 was expected on pipe VR_ServerPipe_12824
xrclient_UnrealEditorTue Jan 16 2024 11:01:46.072129 [Warning] - IPC failure changing app type
xrclient_UnrealEditorTue Jan 16 2024 11:01:46.072153 [Error] - Unexpected error while trying to change the OpenXR application type: [VRInitError_Init_Internal]
and the following when trying to start the preview again:
xrclient_UnrealEditorTue Jan 16 2024 11:03:00.858994 [Info] - Initializing CVulkanVRRenderer
xrclient_UnrealEditorTue Jan 16 2024 11:03:00.859068 [Info] - Debug markers: disabled, missing extension support. Is the Renderdoc layer enabled?
xrclient_UnrealEditorTue Jan 16 2024 11:03:00.911567 [Info] - Initialized Vulkan transfer ring buffer, mapped at offset 0x0x7efd78000000.
xrclient_UnrealEditorTue Jan 16 2024 11:03:00.912170 [Error] - Client connection in an invalid state [10], while attempting to transition application to VrApplication_OpenXRScene.
xrclient_UnrealEditorTue Jan 16 2024 11:03:00.928290 [Info] - Changing app type from VRApplication_OpenXRScene to VRApplication_OpenXRInstance
vrserverTue Jan 16 2024 11:03:00.928462 [Info] - Refusing to change app type from 15117: UnrealEditor transition from VRApplication_OpenXRInstance to VRApplication_OpenXRInstance is illegal
xrclient_UnrealEditorTue Jan 16 2024 11:03:00.928550 [Info] - Discarding sequence mismatched message type: 121, sequence: 446, expected type: 121, expected sequence: 447, pipe: VR_ServerPipe_12824
xrclient_UnrealEditorTue Jan 16 2024 11:03:00.928597 [Warning] - ChangeAppType failed with VRInitError_Init_IllegalTypeTransition
xrclient_UnrealEditorTue Jan 16 2024 11:03:00.928665 [Error] - Unexpected error while trying to change the OpenXR application type: [VRInitError_Init_IllegalTypeTransition]
I'm currently developing an app on Unreal Engine and receive this error when trying to launch VR preview more than once. I would LOVE to be on Linux to create my game, but this issue makes it impossible for any developer to create games on Linux.
I am able to launch the VR preview once and debug the game just fine in VR, but when I launch it a 2nd time, this callstack and error log gets printed to console: