Forum Discussion

馃毃 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 馃毃
Kevsplosion's avatar
Kevsplosion
Honored Guest
2 years ago

OpenXR crashes when playing VR Preview a second time in both UE 5.1.1 and 5.0.3

Hi, when using UE5 with Meta Quest 2, launching VR preview will crash the engine the second time I try to launch (first time works fine, as expected).

Steps to reproduce:

  1. Connect Meta Quest 2 to the PC, open Oculus Link in the headset, launching the Oculus App on the PC
  2. Open Unreal Engine
  3. Launch the game in VR Preview-mode
  4. Close the VR Preview-mode
  5. Launch the game in VR Preview-mode again

 


It will remain white, then crash.

 

 

image1027脳730 49.8 KB

 

Searching through the logs, this seems to be the reason:

[2023.11.08-12.00.19:855][356]LogOutputDevice: Error: Ensure condition failed: ((Result) >= 0) [File:D:\build++UE5\Sync\Engine\Plugins\Runtime\OpenXR\Source\OpenXRHMD\Private\OpenXRHMD.cpp] [Line: 1045]

[2023.11.08-12.00.19:855][356]LogOutputDevice: Error: OpenXR call failed with result XR_ERROR_SYSTEM_INVALID

My Meta Quest 2 is connected and is running the Oculus App, using Oculus Link to enable the VR Preview in Unreal prior to launching both of the times.

I believe this is an issue with OpenXR, it happens on two different VR-projects, both in UE 5.0.3 and 5.1.1.

4 Replies

Replies have been turned off for this discussion