Questions tagged [mrtk]

The Microsoft MixedRealityToolkit (MRTK) is a collection of scripts and library components designed to help developers build applications for Windows Mixed Reality. Use this tag for questions about either the base MRTK or the Unity version.

Microsoft's MixedRealityToolkit (MRTK) helps developers build Windows Mixed Reality applications faster, by providing a set of scripts, library components and examples for the platform. MixedRealityToolkit-Unity helps users leverage the MRTK components in Unity.

444 questions
3
votes
1 answer

0x80070057 error after deploying to the hololens

I genuinely don't even know where to start. This problem started occurring after I installed the mrtk v2.0. Before that I was able to deploy without any issue. The error I'm getting is:
3
votes
3 answers

How do you detect whether your Mixed Reality app is running on HoloLens 1, HoloLens 2 or an immersive headset?

Mixed Reality apps can soon run on three kinds of devices: HoloLens 1, Hololens 2 and Immersive (VR) headsets. Some behavior will likely be different depending on the type of device you run the app on. How can I ask the SDK what kind of device my…
LocalJoost
  • 415
  • 3
  • 7
3
votes
2 answers

How to manually disable/enable mrtk v2 spatial awareness settings

I'm trying to manually enable or disable the spatial awareness of my HoloLens app. I have this UX hologram that is relative to my position (and it follows as I move) that I need to interact with, but colliders that were made from spatial…
3
votes
2 answers

how sharing & annotation/marking on shared holograms works on new Mixed Reality ToolKit (MRTK) for unity

I'm looking for solution to get rid of old version of MRTK and start using new version of MRTK for Unity sharing applications. but i am no sure still the new version is supporting sharing as well as annotation or marking on shared holographic…
3
votes
2 answers

How do I get the position of an active MRTK pointer?

I'm trying to place a preview object at the end of an articulated hand pointer in Mixed Reality Toolkit. How do I get the position of where the pointer is hitting geometry? I have the DefaultControllerPointer set to articulated hand, but I need to…
Ecnassianer
  • 136
  • 2
  • 11
3
votes
2 answers

Attaching items to the hands

We want to attach some UI and other items to the back of the articulated hand. Just trying to figure out how to do that. I have found how to turn on and off the hand visualizer through MixedRealityHandTrackingProfile but I'm trying to find the Unity…
Jared Bienz - MSFT
  • 3,550
  • 17
  • 21
3
votes
2 answers

Using MRTK and Vuforia in Unity - What Camera to choose?

Im new to AR and set up the last days MRTK and Vuforia on Unity. Both operated fine independently and now I want to use both in one project. But the problem is that both have a camera. MRTK has its own MixedRealityCamera and Vuforia the ARCamera.…
Perazim
  • 1,501
  • 3
  • 19
  • 42
2
votes
0 answers

Microsoft Mixed Reality Feature Tool will not open - Computer information, Specs, and Program Logs for reference

I am a student learning to use Unity for HoloLens 2 Development. I am working through the guide in link 1. I am trying to get the Mixed Reality Feature Tool working, but it will not open. The process appears in task manager and draws memory, but it…
2
votes
1 answer

Delete button for object - MRTK

I have a question regarding Unity and mrtk. I need to create an object, which can be deleted via button push. This button should be attached to the object. Now there is the app bar which can be attached to the object and which is very convenient…
Yannik
  • 41
  • 2
2
votes
4 answers

the type or namespace name 'mixedreality' does not exist in the namespace 'microsoft' (are you missing an assembly refrence?)

I am currently developing an app for the Hololens 2 with Unity and mrtk. I am trying to get the Gaze direction from the GazeProvider.cs which is attached to the camera, because i want to spawn objects in front of the players face. I am trying to…
Yannik
  • 41
  • 2
2
votes
1 answer

HoloLens - Is there a possibility to combine MRTK and HoloLens2ForCV?

I am starting a project where I need the following two things: raw sensor data from the HoloLens 2 to create a point cloud functionality and ui from MRTK The thing is that I'm using MRTK in a Unity project and the programming language is C#. To…
Perazim
  • 1,501
  • 3
  • 19
  • 42
2
votes
0 answers

HoloLens 2 and MRTK 2 now allowing spatial mapping

----------- EDIT --------------- I was able to get it to work by disabling OpenXR and enabling Windows Mixed Reality plugin. This will be a temporary fix but, I would prefer not to use a plugin that is depricated. When I went back to OpenXR the…
Brad Towle
  • 23
  • 3
2
votes
0 answers

Hololens 2 MRTK Unity app: scene locked to camera/head

I am developing an app for Hololens 2 on Unity 2019.4.22f1 using MRTK 2.7.1 and XR SDK. I have done all of the basic MRTK setup (I added MRTK Foundation, Extensions, Tools, and Standard Assets using the Mixed Reality Feature Tool; I used the utility…
2
votes
0 answers

Why does assigning Actions to Events in TouchHandler in MRTK for Unity fail?

I am creating gameobjects at runtime in my MRTK project and use a method to add a NearInteractionTouchableVolume to them (It autoconnects to the BoxCollider already attached to it). I then add a TouchHandler that I then use to assign one of the 3…
Salatgurke
  • 1,554
  • 1
  • 13
  • 35
2
votes
0 answers

HoloLens 2 Unable to connect to server

I am currently developing an application for the HoloLens 2 with the MRTK and MLAPI as the networking backend. I have a server running in a separate Unity project with identical assets on my computer while the client is running on the HoloLens, both…
jakebacker44
  • 35
  • 1
  • 7
1
2
3
29 30