Questions tagged [openxr]

69 questions
0
votes
0 answers

UE:How to use StereoLayer on Hololens2?

MRTK + OpenXR + UE4 https://docs.unrealengine.com/5.1/en-US/openxr-stero-layers-overview-in-unreal-engine/ I used StereoLayer, but found it didn’t work on Hololens2. How should it be set? I want to render different textures for the left and right…
misumisu
  • 51
  • 3
0
votes
1 answer

Hololens 2 emulator for openxr hello_xr test

I am working on Windows 10 with Windows Mixed Reality Runtime and Hololens 2 emulator to run the hello_xr test . I was able to build the project using Visual Studio 19 and run it from command prompt as follows hello_xr.exe -g D3D12 -ff Hmd -vc…
WillyWonka
  • 91
  • 1
  • 7
0
votes
1 answer

No hand tracking during holographic remoting on Hololens 2 with Unity 2020.3/OpenXR/MRTK 2.8

I've been developing a Hololens 2 app in Unity 2019.4 using built-in XR/Windows Mixed Reality and remoting was working fine, hand tracking was perfect. Recently migrated to Unity 2020.3 LTS using OpenXR. Everything is working fine in the…
0
votes
1 answer

Unity's Open XR inputs TryGetFeatureValue always 0 for all Unity XR Input's CommonUsages

So I have been debugging for hours at this point to no avail. I call my function in another class and it keeps returning 0 I have tried logging everything to see if there is an error with it, and I can't find one. The target device prints out as…
Titan1315
  • 29
  • 4
0
votes
1 answer

Use XrSceneLib_uwp in a native HoloLens 2 OpenXR application

I'm trying to create a native HoloLens 2 C++ application with OpenXR. In the Microsoft OpenXR-MixedReality example I discovered the XrSceneLib_uwp project which has the configuration type set as static library (.lib) in the Visual Studio properties.…
Jacky098
  • 3
  • 3
0
votes
1 answer

SpatialCoordinateSystem.TryGetTransformTo() from Webcam to Unity space fails in a non-initial, separated spatial environment on HoloLens 2

I have a quite specific problem regarding to a transformation matrix for transformations from the HoloLens 2 webcam space into the current Unity scene space in a Unity+MRTK+OpenXR app. The goal is to acquire the exact camera pose related to a camera…
PhilJay
  • 515
  • 5
  • 10
0
votes
0 answers

MRTK3 with Quest Pro Color Passthrough?

https://youtu.be/dtKArIh8UTQ The video above shows MRTK2 working with Quest Pro's color passthrough. Has anyone been able to get it working with MRTK3? I can't get the OpenXR and Oculus XR plugins to run simultaneously. MRTK3 won't work without…
HartyeTech
  • 181
  • 5
0
votes
0 answers

Unity Oculus Rift S - Start at constant position

In my current project, I am using the Oculus Integration package to interface my app with my Oculus Rift S headset and Unity 2021.3.6f1 URP. I am using the included OVRPlayerController, and noticed that the player's position is dependent on the…
SagiZiv
  • 932
  • 1
  • 16
  • 38
0
votes
2 answers

How to build and run VR application developed in Unity on HP Omnicept Reverb G2?

absolute VR dev newbie here. As stated in the title, how can I "build and run" VR application developed in Unity on HP Omnicept Reverb G2 headset? In other words, how can I turn my Unity project into an .exe or apk (not sure what is the correct file…
0
votes
1 answer

After installing MRTK and OpenXR plugin to Unity project I get compiler errors: The type or namespace name could not be found

So I have been trying to follow the tutorial found at: https://medium.com/@perudayani/connecting-hololens-part-3-of-3-f010481f288b , I got through part 1-2 no problem. But in part 3 they referenced an old MRTK package, so I try to install the new…
0
votes
2 answers

When my Windows Mixed Reality googles go to sleep OpenXR gets an exit state change

I am writing an application using OpenXR on Windows using the Windows Mixed Reality OpenXR addon/plugin. When my application runs and the VR device goes to sleep, I get a state change to exit the OpenXR application. According to the OpenXR lifecycle…
pettersson
  • 317
  • 2
  • 10
0
votes
1 answer

OpenXR FOV in Unity Editor too small for Hololens 2

I have a problem after switching from Unity integrated XR to Open XR when using Holoremoting. The Unity Editor FOV 29 deg, although the Hololens 2 FOV is 54 deg. Unity Screenshot How can I increase the FOV of my Main Camera in Unity so it's the same…
0
votes
1 answer

OpenXR, how to obtain xrGetInstanceProcAddr on windows, C and Vulkan

I need to get the platform-specific xrGetInstanceProcAddr, I'm on windows Visual Studio, language is C, API is vulkan. I've got error "extern undefined symbol xrGetInstanceProcAddr" when running the following code: #define…
Leon
  • 554
  • 4
  • 18
0
votes
0 answers

Hololens2 Correct Usage of SpatialAnchors

I am trying to implement an Hololens 2 App using SpatialAnchors but it seems that I am not quite understanding the concept right. I am able to create, save and restore SpatialAnchors of the Windows.Perception.Spatial namespace, but whenever I…
0
votes
0 answers

How to Fix -Unity 2020.3.30.f1 + MRTK + openXR = Error: CS0108: 'HololensHand.trackingState' hides inherited member 'TrackedDevice.trackingState'

I am running Unity 2020.3.30.f1 + MRTK Example project, when I follow prompts to import OpenXR plugin for Microsoft Hololens feature group I receive this error: .cs(82,31): error CS0108: 'HololensHand.trackingState' hides inherited member…