Run-time error
pkovacs86 opened this issue · 2 comments
I tried to run the SampleSceneWin32 sample but I got the following error:
Error [GENERAL | | OpenXR-Loader] : RuntimeManifestFile::FindManifestFiles - failed to find active runtime file in registry
Error [GENERAL | xrEnumerateInstanceExtensionProperties | OpenXR-Loader] : RuntimeInterface::LoadRuntimes - unknown error
Error [GENERAL | xrEnumerateInstanceExtensionProperties | OpenXR-Loader] : RuntimeInterface::LoadRuntimes - failed to find a valid runtime
Error [GENERAL | xrEnumerateInstanceExtensionProperties | OpenXR-Loader] : Failed to find default runtime with RuntimeInterface::LoadRuntime()
Error [GENERAL | xrEnumerateInstanceExtensionProperties | OpenXR-Loader] : Failed querying extension properties
Exception thrown at 0x00007FFA78B9A859 in SampleSceneWin32.exe: Microsoft C++ exception: std::logic_error at memory location 0x0000008646AFCE18.
[17-13-10.748871] (t:2f00): Unhandled Exception: XrResult failure [XR_ERROR_INSTANCE_LOST]
Origin: xrEnumerateInstanceExtensionProperties(layerName, 0, &extensionCount, nullptr)
Source: C:\temp\OpenXR-MixedReality-master\shared\XrUtility\XrEnumerate.h:25
@pkovacs86 This error happens when you've not properly setup OpenXR runtime on your computer. Have you tried to follow the instruction here? Are you using Hololens? or a desktop VR headset?
https://docs.microsoft.com/en-us/windows/mixed-reality/openxr-getting-started
Especially try this app "OpenXR Developer Tools" and see your runtime installation status:
Thank you,
https://postimg.cc/rDkHNq8T