You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
XrResult result = xrEnumerateInstanceExtensionProperties(NULL, xrExtensionCount, &xrExtensionCount, instanceExtensions.data());
16
+
if (result == XR_ERROR_RUNTIME_FAILURE) {
17
+
Log::print<ERROR>("Couldn't enumerate OpenXR extensions! Is the OpenXR runtime installed and set to the correct runtime? Restarting might help, or going to SteamVR/Oculus Link's Settings and making sure OpenXR is enabled.");
checkXRResult(xrCreateInstance(&xrInstanceCreateInfo, &m_instance), "Failed to initialize the OpenXR instance!");
72
+
{
73
+
XrResult result = xrCreateInstance(&xrInstanceCreateInfo, &m_instance);
74
+
if (result == XR_ERROR_RUNTIME_FAILURE) {
75
+
Log::print<ERROR>("Failed to create OpenXR instance! Is the OpenXR runtime installed and set to the correct runtime? Restarting might help, or going to SteamVR/Oculus Link's Settings and making sure OpenXR is enabled.");
76
+
}
77
+
checkXRResult(result, "Failed to initialize the OpenXR instance!");
0 commit comments