Forum Discussion
Extrys
6 months agoStart Partner
Unity build Crashing on OpenXR PC build with Vulkan. xrGetVulkanGraphicsDevice2KHR
Im trying to do a build for PC, the problem is that the app crashes when using Meta Quest link as OpenXR default runtime, it crashes when trying to get Vulkan graphics device, the weird thing if that I try opening several times, sometimes, it works.
This doesn't happen with Virtual desktop or steam as Default runtimes, with these it works correctly
I would like to see if this has solution or not because would like to ship my game using Vulkan
xrGetVulkanGraphicsDevice2KHR: XR_ERROR_RUNTIME_FAILURE
When crashing it logs this:
[Vulkan init] SelectPhysicalDevice requestedDeviceIndex=-1 xrDevice=0000000000000000
[XR] [42020] [18:20:44.692][Error ] xrGetVulkanGraphicsDevice2KHR: XR_ERROR_RUNTIME_FAILURE
[XR] [42020] [18:20:44.692][Error ] Unrecoverable runtime error has occurred, shutting down XR experience
Crash!!!
Trying to run it several times sometimes works and logs this instead:
[Vulkan init] SelectPhysicalDevice requestedDeviceIndex=-1 xrDevice=0000000000000000
[Vulkan init] Physical Device 000002BB6139A270 [0]: "NVIDIA GeForce RTX 3060" deviceType=2 vendorID=10de deviceID=2504
[Vulkan init] Selected physical device 000002BB6139A270
Replies have been turned off for this discussion
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 4 months ago
- 2 years ago