# OPENXR in a BLANK template using HTC VIVE / STEAM VR / 5.1.0

**URL:** <https://forums.unrealengine.com/t/openxr-in-a-blank-template-using-htc-vive-steam-vr-5-1-0/688372>\
**Category:** XR Development\
**Tags:** SteamVR, VR-Vive, unreal-engine, UE5-0, OpenXR\
**Created:** [November 11, 2022, 2:24am UTC](https://forums.unrealengine.com/t/openxr-in-a-blank-template-using-htc-vive-steam-vr-5-1-0/688372 "2022-11-11T02:24:34Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![DeisukeAramaki](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/deisukearamaki/32/595844_2.png) [@DeisukeAramaki](https://forums.unrealengine.com/u/DeisukeAramaki)\
**Post date:** [November 11, 2022, 2:24am UTC](https://forums.unrealengine.com/t/openxr-in-a-blank-template-using-htc-vive-steam-vr-5-1-0/688372/1 "2022-11-11T02:24:34Z")

</div>

Hello,

I’m trying to setup a Virtual Production scene WITH the control of the VIVE CONTROLLERS and a static Cine Camera (NOT the HMD).

I tried doing it using #OpenXR temaplate for #VR - but it seems to be only working with the HMD - or does it not?

My second approach is to use a BLANK or a #VIRTUAL PRODUCTION template - set a custom Cine Camera to render the scene AND have the VIVE Controllers input movement AND triggers / buttons.

For now I managed to get the movement via #LiveLinkXR - but I can’t manage to get trigger/grip inputs from controllers.

I tried switching to OpenXR and Enhanced Input - but I get ZERO information from my VIVE controllers - while SteamVR is running and tracking. And SteamVR is communicating fine with the Unreal Engine because when I try to use the VR template with OpenXR plugin - everything works fine…

Any ideas on how can I have:

- VIVE controllers movement input
- VIVE controllers trigger/button input
- custom CineCamera for rendering (and NOT the HMD)  
?

ANy help would be much appreciated…

Best!

---

<div class="post-metadata">

**Author:** ![Rectus\_SA](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Rectus\_SA](https://forums.unrealengine.com/u/Rectus_SA)\
**Post date:** [November 11, 2022, 5:20pm UTC](https://forums.unrealengine.com/t/openxr-in-a-blank-template-using-htc-vive-steam-vr-5-1-0/688372/2 "2022-11-11T17:20:40Z")

</div>

The XR system doesn’t seem to have any support currently for using it without rendering to the HMD. Not sure if it’s possible to do without reworking the engine.

To get input with the SteamVR OpenXR without wearing a HMD, you would have to enable the `XR_MND_headless` OpenXR extension. This would require either making a C++ plugin that enables it or modifying the OpenXR plugin itself.

---

<div class="post-metadata">

**Author:** ![DeisukeAramaki](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/deisukearamaki/32/595844_2.png) [@DeisukeAramaki](https://forums.unrealengine.com/u/DeisukeAramaki)\
**Post date:** [November 11, 2022, 5:55pm UTC](https://forums.unrealengine.com/t/openxr-in-a-blank-template-using-htc-vive-steam-vr-5-1-0/688372/3 "2022-11-11T17:55:36Z")

</div>

Thank You for Your answer.  
How about using a Spectator View in VR mode? Is the Spectator Cam subject to the same limitations as HMD cam? (no raytracing, forward rendering, OpenXR output resolution limitations…) ?

---

<div class="post-metadata">

**Author:** ![Rectus\_SA](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Rectus\_SA](https://forums.unrealengine.com/u/Rectus_SA)\
**Post date:** [November 11, 2022, 6:02pm UTC](https://forums.unrealengine.com/t/openxr-in-a-blank-template-using-htc-vive-steam-vr-5-1-0/688372/4 "2022-11-11T18:02:59Z")

</div>

Not sure, I haven’t looked at it that much. It adds a new render pass though, so it would still try to render the VR views as well every frame.

---

<div class="post-metadata">

**Author:** ![DeisukeAramaki](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/deisukearamaki/32/595844_2.png) [@DeisukeAramaki](https://forums.unrealengine.com/u/DeisukeAramaki)\
**Post date:** [November 11, 2022, 6:10pm UTC](https://forums.unrealengine.com/t/openxr-in-a-blank-template-using-htc-vive-steam-vr-5-1-0/688372/5 "2022-11-11T18:10:28Z")

</div>

You’re right about that - so no performance gains here - just more limitations.

There’s still the “old” method of MOTION ONLY input from controllers trackers - by disabling the OpenXR and tracking the movement of the controllers using LiveLinkXR and SteamVR plugins - works great on any UE template - but does not give any access to button and pad presses on the controllers - unless I’m doing something wrong…

---

<div class="post-metadata">

**Author:** ![Rectus\_SA](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Rectus\_SA](https://forums.unrealengine.com/u/Rectus_SA)\
**Post date:** [November 11, 2022, 7:57pm UTC](https://forums.unrealengine.com/t/openxr-in-a-blank-template-using-htc-vive-steam-vr-5-1-0/688372/6 "2022-11-11T19:57:44Z")

</div>

The SteamVR plugin has been deprecated now. It probably hasn’t been updated to work with Enhanced Input.

---

<div class="post-metadata">

**Author:** ![VictorLerp](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/victorlerp/32/738381_2.png) [@VictorLerp](https://forums.unrealengine.com/u/VictorLerp)\
**Post date:** [November 17, 2022, 6:11pm UTC](https://forums.unrealengine.com/t/openxr-in-a-blank-template-using-htc-vive-steam-vr-5-1-0/688372/7 "2022-11-17T18:11:39Z")

</div>

We implemented `XR_MND_headless` in 5.1, and are currently working on making LiveLinkXR work with OpenXR/Enhanced Input. That includes Vive Trackers for both editor time and runtime.

---

<div class="post-metadata">

**Author:** ![DeisukeAramaki](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/deisukearamaki/32/595844_2.png) [@DeisukeAramaki](https://forums.unrealengine.com/u/DeisukeAramaki)\
**Post date:** [November 18, 2022, 6:43pm UTC](https://forums.unrealengine.com/t/openxr-in-a-blank-template-using-htc-vive-steam-vr-5-1-0/688372/8 "2022-11-18T18:43:40Z")

</div>

> [@VictorLerp](#):
>
> XR\_MND\_headless

Thanks for the info. How can I use XR\_MND\_headless in 5.1 ? How can I access this option? Is it doable in Blueprint or C++ only?

---

<div class="post-metadata">

**Author:** ![Rectus\_SA](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Rectus\_SA](https://forums.unrealengine.com/u/Rectus_SA)\
**Post date:** [December 11, 2022, 1:10pm UTC](https://forums.unrealengine.com/t/openxr-in-a-blank-template-using-htc-vive-steam-vr-5-1-0/688372/9 "2022-12-11T13:10:07Z")

</div>

Seems like it’s enabled by launching with the `-xrtrackingonly` command line parameter. Not sure how it’s supposed to work though, it doesn’t seem to update the tracking on motion controller components at least.

---

<div class="post-metadata">

**Author:** ![VictorLerp](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/victorlerp/32/738381_2.png) [@VictorLerp](https://forums.unrealengine.com/u/VictorLerp)\
**Post date:** [December 12, 2022, 9:31pm UTC](https://forums.unrealengine.com/t/openxr-in-a-blank-template-using-htc-vive-steam-vr-5-1-0/688372/10 "2022-12-12T21:31:25Z")

</div>

I should have been clear that motioncontroller tracking and input is not yet implemented, but it’s currently being worked on.

---

<div class="post-metadata">

**Author:** ![Lukaris01](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Lukaris01](https://forums.unrealengine.com/u/Lukaris01)\
**Post date:** [July 5, 2023, 8:31am UTC](https://forums.unrealengine.com/t/openxr-in-a-blank-template-using-htc-vive-steam-vr-5-1-0/688372/11 "2023-07-05T08:31:51Z")

</div>

Hi,  
did you get it to work with UE 5.2.x ?

I have the same issues as you, however, I have seen people who were able to do it  
however I just can not figure it out
