I made a simple HelloVR Project from VR Template and UE editor try to load the project, and then, on 85% progressing, Editor crash with this error log.
Assertion failed: ((Result) >= 0) [File:./../Plugins/Runtime/OpenXR/Source/OpenXRHMD/Private/OpenXRCore.cpp] [Line: 24]
I have quest2 connected to My fedora 42 machine via usb. I know Meta quest don’t support Linux. I just want to create a VR Project based on OpenXR without any matter Quest.Is there any way to resolve or get workaround this error?
HelloVR.uproject 's content is
UE Editor did open the VR Project successfully while running SteamVR.
At that time, SteamVR detected definitely my quest2. I set SteamVR as OpenXR runtime.
If you just want to start the editor without any headset connected, try setting bStartInVR=False in the project DefaultGame.ini file.
The crash is an assertion on calling xrStringToPath for /user/hand/left which shouldn’t normally be able to fail if the OpenXR runtime is working correctly. What runtime did you have set when the crash occurred?
I’m surprised it managed to get so far without a runtime.
Unreal (and all other engines really) seems to have poor handling of OpenXR system configuration issues in general. There doesn’t seem to be good paths to getting informative error messages to either devs or end users. Especially about which runtimes are installed and being used, what API layers are active or overridden, and handling of errors from things like the headset not being connected to the runtime.