Forum Discussion
stenyak
2 years agoProtege
Nullpointer crash during xrCreateSession inside oculus drivers (LibOVRRT64_1.dll) using OpenXR on PC
Hi, I've integrated OpenXR in my custom game engine. It works fine when I use my Oculus headset using SteamVR as the OpenXR runtime. However, when using Oculus as the OpenXR runtime, I get a null...
johnkearney
2 years agoMeta Employee
For anybody who comes to this issue in future - stenyak and I investigated this issue and found it to be a problem in the application code. The crash happened in the Vulkan Loader because the data from `xrGetVulkanDeviceExtensionsKHR` was not being used when creating the VkDevice.
Thanks,
John
stenyak
2 years agoProtege
Thanks John, was about to come here to post the solution myself!
So I was indeed not loading all the required Vulkan extensions, which made the runtime unable to work as intended, leading to that crash.
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
- 2 years ago