# OpenXR Issue

**URL:** https://discourse.vtk.org/t/openxr-issue/14191
**Category:** VR/AR
**Created:** [July 9, 2024, 9:12am UTC](https://discourse.vtk.org/t/openxr-issue/14191 "2024-07-09T09:12:50Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![stocke20](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/s/13edae/32.png) [@stocke20](https://discourse.vtk.org/u/stocke20)
#### Post date: [July 9, 2024, 9:12am UTC](https://discourse.vtk.org/t/openxr-issue/14191/1 "2024-07-09T09:12:50Z")

</div>

Hello,  
I am currently trying to use OpenXR with VTK instead of OpenVR for VR support and I’ve run into an issue where the OpenXR initialization fails. I have tried to start OpenXR manually via the vtkOpenXRManager class, but this did not change anything. Here are the specific errors I’m encountering:

 ![Untitled picture](https://discourse.vtk.org/uploads/default/original/2X/1/1e77f4fa6872ca01df66af5f0fe707851fb88534.png)

The following line is also printed repeatedly in the console:  
Error [GENERAL | xrPollEvent | OpenXR-Loader] : No active XrInstance handle.

Does anyone have any suggestions on how to resolve this?

---

<div class="post-metadata">

### Author: ![codeling](https://discourse.vtk.org/user_avatar/discourse.vtk.org/codeling/32/3792_2.png) [@codeling](https://discourse.vtk.org/u/codeling)
#### Post date: [July 9, 2024, 12:33pm UTC](https://discourse.vtk.org/t/openxr-issue/14191/2 "2024-07-09T12:33:22Z")

</div>

Could be [the same issue I had with OpenXR SDK version 1.1.36](https://discourse.vtk.org/t/openxr-1-1-36-crash/13744).

As a workaround, for me it works to downgrade to [OpenXR SDK version 1.0.34](https://github.com/KhronosGroup/OpenXR-SDK-Source/releases/tag/release-1.0.34).

---

<div class="post-metadata">

### Author: ![codeling](https://discourse.vtk.org/user_avatar/discourse.vtk.org/codeling/32/3792_2.png) [@codeling](https://discourse.vtk.org/u/codeling)
#### Post date: [July 16, 2024, 1:51pm UTC](https://discourse.vtk.org/t/openxr-issue/14191/3 "2024-07-16T13:51:14Z")

</div>

Update:  
The OpenXR SDK \>= 1.1.36 requires the apiVersion to be set to 1.0.x to be compatible with the 1.0 API that VTK uses.  
See also [my post in the other thread](https://discourse.vtk.org/t/openxr-1-1-36-crash/13744/3) and [my pull request for VTK](https://gitlab.kitware.com/vtk/vtk/-/merge_requests/11318).
