Questions tagged [openxr]
69 questions
6
votes
3 answers
Unity HoloLens 2 deployed App stuck loading
I am trying to deploy an app from Unity 2020.3.32f1 to the Hololens 2 with Visual Studio 2022 over USB. Everytime I try to deploy the app, it builds and deploys through visual studio correctly before it begins to load in the Hololens, it then gets…

vardner
- 63
- 5
4
votes
1 answer
Best sample app for Oculus development with Android Studio?
Can anybody recommend a working Android Studio sample app that I can use for Oculus Quest 2, preferably with good documentation? I am looking for something I can build and run to start playing with their OpenXR Mobile SDK.
I am on an Intel Macbook…

Dan J
- 25,433
- 17
- 100
- 173
3
votes
1 answer
Read controller data from outside VR Rig with action based input system
I'm having trouble using the new action based input system in Unity OpenXR.
With the old (device based) input system it was possible to retrieve an input device object from outside the XR Rig using the InputDevices.GetDeviceAtXRNode()…

be-rty
- 52
- 9
2
votes
1 answer
Unity OpenXR Read trigger and grip data from VR controller
I´m having trouble using the new action based input system in Unity OpenXR.
I want to update the Animator objects with the values of the ActionBasedController. In general this works but only delivers 0 or 1. This way the animation looks simple. I´m…

Spartacus
- 196
- 6
1
vote
1 answer
In Unity OpenXR environment, how to reset the player position to center?
We're creating a game for graduate college. I'm making a flight shooting game in unity on VR.
The problem is that reset player (aircraft) position to current player's position in real.
Currently, my player object's structure is...
Player
> XR…

MayB
- 11
- 3
1
vote
1 answer
Why is the object scale not being retained in Unity?
I'm trying to write a function that can scale a 3D shape in any direction. This function is attached to an object and will be enabled when the object is grabbed by the player. After the script is enabled the object will be scaled relative to the…

A J
- 11
- 2
1
vote
1 answer
How to enable OpenXR backend for Oculus Plugin
I have built a VR project for the Oculus Rift S device with hand controllers in Unity 2020.3.43f, and now I am trying to build it.
I get the following error:
BuildFailedException: OpenXR backend for Oculus Plugin is disabled, which is required to…

SagiZiv
- 932
- 1
- 16
- 38
1
vote
0 answers
OpenXR Runtime set to Steam is causing performance problems on Oculus Link
I am developing VR game on steam using Unity 2021 and OpenXR. When OpenXR Runtime is set to Oculus like on screenshot, everything is ok, performance in game is perfect.
But when I set OpenXR Runtime on SteamVR the game is laggy as hell. I tested…

Wolfik
- 286
- 2
- 7
- 22
1
vote
1 answer
How to disable joystick control of grabbed object in XRRayInteractor
In the project I have added Player Movement with Joystick for both Right Controller and Left Controller.
There are objects for which XRGrabIntractable Script attached so that they are Grabbable when Ray is Pointed and Triggered.
when I use Trigger…

Vin0706
- 15
- 4
1
vote
0 answers
Get Access to Controller Render Models in OpenXR
I am developing with OpenXR (using the C API) and using mainly a Quest 2 headset for testing (but also other systems), and need to be able to load and render controller models (and preferrably be able to animate button presses etc.). I have…

Jonas Hagmar
- 51
- 6
1
vote
0 answers
DllNotFoundException: InterceptFeaturePlugin assembly: type: member:(null)
Working on a Unity 2021.3.11f1 OpenXR VR project with another person, where we're using Git for source control. I've pulled main and am trying to run a scene, but am getting the following error:
DllNotFoundException: InterceptFeaturePlugin…

THEMOUNTAINSANDTHESKIES
- 542
- 7
- 22
1
vote
0 answers
using gl_texture_2d_array in openXR swapchain
What is the purpose of ARRAY textures in openXR swapchains?
I wanted to make a single texture swapchain with two array slices, corresponding to each eye.
The runtime has created the texture as intended.
I have set the corresponding…

Tomas
- 105
- 7
1
vote
0 answers
How to publish an OpenXR app in Microsoft Store
I'm completely confused right now. We have an app for the Hololens 2 which uses OpenXR. The app itself works fine on the device (it was tested extensively by us and several of our customers) but currently we are using side-loading to get the app…

spielc
- 11
- 1
1
vote
1 answer
Possible gitignore issue for setting up a new OpenXR project with MRTK to do Unity-Hololens dev
I am following the instructions on this page to set up my Unity project for developing an app for Hololens2.
Once I switched platform and saved the new settings, I was curious to see what changes had been made under the hood by looking at my…

Dina M.
- 219
- 2
- 10
1
vote
2 answers
Openxr_runtime_debugger.pdb not loaded
I am working on an app that performs face recognition on the Hololens 2 using Unity 2021.3.4f1.
I'm having trouble debugging with the Hololens while everything works fine when I'm running the app via the editor.
Basically, I take a picture and save…

Leado
- 25
- 6