exedos Posted April 10, 2023 Posted April 10, 2023 Is there a proper tutorial anywhere on how to set up OpenXR support with UE5 ? I am able to get it working in 5 and 5.1 with Steam VR plugin and VIVE Business Streaming over wifi and with a USB cable but i cant get it to work with the built in OpenXR plugin or with the one that is available for download from VIVE - UE5_ViveOpenXR_PCVR-1.5.0 I am also not sure if I nead the Steam VR client to be running as well when using OpenXR ? seems like i wouldnt need it but VIVE business streaming launches it every time... it would be great if there was clear documentation on how to set this up and get it working... am a develope here and cant seem to get past basics also the option in VIVE business streaming to "enable OpenXR" launches a app that then dissapears and does nothing at all.. do i need to turn this on or enable it as well ? help please
Alex_HTC Posted April 10, 2023 Posted April 10, 2023 Howdy @exedos Look at our openxr plugin here https://developer.vive.com/resources/openxr/openxr-mobile/download/latest/ This should help add the relevant xr entries. Here's some additional info from developer also uses unreal with openxr:
exedos Posted April 11, 2023 Author Posted April 11, 2023 help well no luck so far getting OpenXR apps running on my Vive XR Elite. i am running the new VIVE streaming hub but it has no open xr options in the settings (the standalone business streaming hub used to). Running the VIVE streaming hub alongside SteamVR works fine and i can use it to play games from the steam store using via my PC as well as to launch apps from unreal 5.0/5.1 using the SteamVR plugin inside unreal (which is depreciated) but there seems to be no way to launch apps from unreal or get them running directly on the device using OpenXR ? it would help to know if I need to run the SteamVR app as well as VIVE streaming hub to launch OpenXR apps on the headset from inside unreal ? at least will help with debugging things. I have tried the UE 5 project and plugin VIVE has hosted at the link below and they dont have any documentation, so its touch and go. The demo project is for UE 5.0 has the VIVE OpenXR plugin bundled inside it but it doesnt recognize the headset. the only way to get it to work is to turn on steam vr plugin... https://developer.vive.com/resources/openxr/openxr-pcvr/download/latest/ note that I can quit the SteamVR app on my PC and run the VIVE streaming hub alone, and I can connect my headset to it from the settings inside the VR headset over USB but then cant launch app son it directly either via Unreal. headset > connectivity > computer connection > connected via usb also note that unreal also has a native openxr plugin - is it not supported ? is there any way to find out if i need to use the vive open xr plugin (as it only works with 5.0 not with 5.1) or can i use the unreal one ? any help would be great, if i can get it working using pure OpenXR then I am happy to write up instructions for other developers as its a killer piece of hardware !!! 1
Precognist Posted July 29, 2023 Posted July 29, 2023 Also interested in this solution, also offered instructions, Connected on Linkedin, reached out on twitter... I'm pretty sure this is the new norm.
Gabor_Infinit Posted September 7, 2023 Posted September 7, 2023 I was struggling with a similar problem with Focu3, I was not able to use OpenXR for PC VR Unreal application. On my computer I have an Oculus installation as well, so there are two OpenXR providers: Oculus and SteamVR. Altough I set SteamVR as current OpenXR runtime in SteamVR settings (you can check it in registry: HKEY_LOCAL_MACHINE\SOFTWARE\Khronos\OpenXR\1), I had to set the following environment variable as well: XR_RUNTIME_JSON=C:\Program Files (x86)\Steam\steamapps\common\SteamVR\steamxr_win64.json Summary: To use OpenXR in Unreal 5.1 (or 4.27) with Focus3 (I believe it is similar with XR Elite-Vive Streaming Hub ) Disable SteamVR plugin in your Unreal project, engine OpenXR plugin is enabled by default. In SteamVR OpenXr settings set SteamVR as current OpenXR runtime. Check HKEY_LOCAL_MACHINE\SOFTWARE\Khronos\OpenXR\1 ActiveRuntime registry key. Set environment variable: XR_RUNTIME_JSON=C:\Program Files (x86)\Steam\steamapps\common\SteamVR\steamxr_win64.json It is possible to use Unreal's built in OpenXR or ViveOpenXR plugin for Unreal (latest version is 2.0.0.). In VBMS there is a Register to enable OpenXR extensions button. It is only for OpenXR extensions such as facial tracking, it is not needed for basic VR apps.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now