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.

Filter by
Sorted by
Tagged with
0 votes
0 answers
29 views

Hololens 2 - Unity Deploy Error - XR_ERROR_RUNTIME_UNAVAILABLE

I am trying to deploy a basic app like only a cube with mrtk3 or mrtk2 hand interaction sample to my company hololens 2 device. I can run the app on emulator but can not on hololens 2. I can deploy ...
volkanigde's user avatar
0 votes
0 answers
10 views

MRTK3 - Touch Events Problems

Situation: I am currently having a control panel (including some buttons, etc.) on a Canvas GameObject. Goal: My goal is that the canvas is only visible if the user looks at the control panel (eye ...
JPF's user avatar
  • 25
-1 votes
0 answers
25 views

How to fix Stack overflow error using Vuforia and MRTK through Unity on Hololens 2?

I am using the Vuforia Hololens 2 Sample through the Unity asset store, yet when I deploy the project to the Hololens, I get the following error: Exception thrown at 0x00007FFA35AB31D8 (GameAssembly....
Rayhan Papar's user avatar
0 votes
0 answers
17 views

Unity LoadContentScene doesn't work as i want

I have a Unity Scene where I put 3 buttons. Every buttons will open another scene on click. The problem that I encoutered is that when I open the scene using the button, the preview scene wouldn't ...
Antonio Piacente's user avatar
0 votes
0 answers
23 views

HoloLens 2: QR-Codes are not recognized on digital displays

I'm working on a demo for the HoloLens 2 that requires the physical input of generated links. To workaround the laborious process of typing hundrets of letters on the HoloLens, I'm using QR-Codes. Lib:...
KarlSupertramp's user avatar
0 votes
0 answers
18 views

Manifest Error during Appx build [Hololens 2, Unity, Vuforia]

Short Overview Unity UWP Application for Hololens 2 using MRTK with later added Vuforia. Unity Version: 2021.3.30f1 MRTK: 2.8.3.0 Vuforia: 10.19.3 Problem I have an application in which I work with ...
Alex's user avatar
  • 161
0 votes
1 answer
37 views

using MRTK implementation add listener codes

contactDetection.onTouch.AddListener(MyCallback); contactDetection.onFirstTouch.AddListener(DoThisOnFirstTouch); contactDetection.onLastUntouch.AddListener(DoThisOnLastUntouch); I was using these ...
Aliza Rind's user avatar
0 votes
0 answers
29 views

Vuforia Engine with Hololens Holographic Remoting

Background I have a question about a Unity Framwork which uses the Hololens 2 and Vuforia. The goal is to detect image targets with the Hololens 2 and place objects at this location. I would like to ...
Alex's user avatar
  • 161
0 votes
0 answers
15 views

"MRTK" missing from project settings tab

Following intro to MRTK tutorial(https://learn.microsoft.com/en-us/training/modules/learn-mrtk-tutorials/1-5-exercise-configure-resources), upon checking 'Project settings' I am unable to see any '...
Kenneth Lin's user avatar
0 votes
0 answers
43 views

Close Unity application in HoloLens 2 on close button click

I have created a unity application using MRTK 2 Toolkit and unity components for the HoloLens2 device, Want to add a functionality to close the application on close button click. Tried using unity's ...
Meghana G T's user avatar
0 votes
1 answer
65 views

Enable Keyword speech recognition manually for mrtk2

There is an option to set a manual start behavior in the "Mixed Reality Speech Commands Profile"s. How do I access it and toggle the speech input? Documentation gives no information about ...
BR14N's user avatar
  • 1
1 vote
1 answer
68 views

MRTK Standard Shader - Border Light Shading Off

Question I am trying to give a colored 3D Cube which has a specific Color a differently colored border for my Hololens 2 application. I now found out that i can use the Mixed Reality Toolkit/Standard ...
Alex's user avatar
  • 161
0 votes
0 answers
55 views

Customize certain near interactable features in MRTK 2.7.3

My Unity project uses MRTK 2.7.3, and one of the gameObject's is attached with object manipulator and near interaction grabbable scripts. I wish to disable specifically the "grab" feature of ...
Nick Zhang's user avatar
0 votes
0 answers
42 views

Unity - Hololens2 - connecting to PortalDevice API

I have some small issues while trying to connect to Hololens2 Device Portal API. I am using Unity 2020.3.35f1 and MRTK 2.8.2.0. I'm trying to connect to DevicePortal API with c# script. I'm using ...
Kamil Małochleb's user avatar
0 votes
1 answer
129 views

Easy way to color border/edges of 3D Cube

Question I am trying to give a colored 3D Cube which has a specific Color a differently colored border. The Cube uses currently a Mixed Reality Toolkit/Standard Shader by which it is colored. Now i ...
Alex's user avatar
  • 161
0 votes
1 answer
24 views

Cannot use GazeInput on HoloLens 2 since Unity Update to 2022.3.7f1 Subscribe

Since I updated Unity from 2020.3 to 2022.3 I can't use GazeInput in the application anymore. Before the update, the application would ask for permission for Microphone, Camera and GazeInput. After ...
KarlSupertramp's user avatar
0 votes
0 answers
9 views

Why do I have two hands when I use the MATK component to modify the hand visualizer and play it in VR glasses?

I used the MRTK component to develop programs in Unity. I wanted the visualization of the hand to not always be the same as the actual hand position. I had modified RiggedHandVisualizer.cs in the MRTK ...
LoftyComet's user avatar
0 votes
0 answers
41 views

How to find screenspace position of eye gaze with Hololens 2 in Unity

I want to create an application for a hololens 2 where I access the primary video feed from the hololens camera and then use the eye gaze feature to see where the user is looking. Is there a way I can ...
Jason Deeprose's user avatar
1 vote
1 answer
113 views

Aligning MRTK playspace in Unity to QR Code tracked on Hololens 2

Using MRTK 2 in Unity 2021 LTS, I'm trying to display a 3D object positioned relative to a QR code on a Hololens 2. The goal is to "scan" the QR code lying flat on a table and have the ...
itkdk's user avatar
  • 11
1 vote
1 answer
128 views

MouseEventsWebView.MouseEvent does nothing

Question: I have WebView2 set up in my Unity project. Now I would like to transfer my clicks from a canvas to the WebView. However, nothing happens after passing a WebViewMouseEventData. Did I forget ...
Perazim's user avatar
  • 1,501
0 votes
0 answers
145 views

Sending data from HoloLens 2 to Arduino

I am attempting to send data over bluetooth from my HoloLens 2 to an arduino device. From the documentation, I gathered that using RFCOMM will be the most straightforward and easiest method for me to ...
Divinor's user avatar
  • 43
0 votes
0 answers
65 views

HoloLens 2 doesnt connection problem to unreal 4.27

I am having a connection problem with hololens 2 and unreal 4.27. I am trying to deploy my project to hololens 2 and it is not happening. screenshot I am using openxr and mrtk plugins. I also tried ...
simal's user avatar
  • 1
1 vote
0 answers
235 views

Web navigation using WebView 2 in Hololens 2 + Unity (MRTK2)

I am trying out WebView2 Preview on HoloLens 2 using Unity 2022 and MRTK 2.8. Loading web pages works great, but I am not able to click on web's buttons, do scroll, etc. I have found this section of ...
OutOfZenny's user avatar
0 votes
0 answers
14 views

mrtk2.6.2 Error in VS2019 CS0246, and it cannot recognise MRTK

This Error is only in VS2019. This Error never happens before. Idk if it was becasue i misclicked something in VS. In Unity there is no Error message and everything works fine, even playmode. But when ...
Quater He's user avatar
0 votes
0 answers
138 views

Azure Bot Framework - ConnectionFailure: Malformed agent config message

I am developing a Voice Assistant on the HoloLens 2 using Unity, MRTK and the Azure Bot Framework. I have followed this video Made with MRTK: Bot Integration. In the editor the voice recognition works ...
RensV's user avatar
  • 47
1 vote
0 answers
131 views

How do I make Vuforia image targets work with MRTK 3?

I'm trying to get a Magic Leap 2 project to work with both MRTK 3 and Vuforia. If I use the MRTK XR Rig camera and add Vuforia Behaviour to it, image target objects will appear properly aligned for a ...
Stefan Nikolov's user avatar
0 votes
0 answers
57 views

Position of an active MRTK 3 pointer

Since MRTK 3 architecture has been redesigned based on XRI, porting MRTK 2 application is a little confusing especially how to get the coordinates of an active Pointer or controller. For MRTK 2, one ...
Cahm's user avatar
  • 1
1 vote
0 answers
187 views

HoloLens 2 Unity App doesn't render anything on screen

I do realize that my question is very similar to this one. However, I've tried the proposed solutions and nothing seems to work. I'm trying to develop a simple app for the HoloLens 2 using Unity and ...
Kojow's user avatar
  • 11
0 votes
1 answer
92 views

How to spawn objects to pre scanned area on hololens 2

First of all my usage scenario is as follows; I want to scan my room with spatial mapping method and then add some 3D models on unity to this scan. When I start using the hololens, if I am in this ...
Burak's user avatar
  • 37
0 votes
0 answers
105 views

QR code tracking on Android with MRTK3: IL2CPPLinkage error when building library

Unity Building Library failed, IL2CPPLinkage error, with MRTK3 and QR Code Tracking on Android I tried to track a QR code with MRTK 3 and Andriod. have used this attachment The following error occurs ...
spirit's user avatar
  • 3
0 votes
1 answer
115 views

How to hide the cursor in hololens2?

How to hide the cursor in hololens2? I need to use handray, and get the hit point coordinate to set my gameobject position like GameObject manipulatePoint foreach (var source in CoreServices....
翁晨毓's user avatar
0 votes
1 answer
101 views

Create a static co-ordinate system in Hololens

I am developing an application for Hololens where I place four image targets and identify the coordinates of the fifth image target relative to those markers. How to transform the image targets' ...
Samir Kumar Patro's user avatar
0 votes
2 answers
198 views

Creating a Handle for Manipulation (Unity/MRTK)

Question I develop an application for Hololens 2 in Unity (+MRTK). I want to move/manipulate Gameobjects so i used the ObjectManipulator, BoundsControl and NearInteractionGrabbable Scripts from MRTK ...
Alex's user avatar
  • 161
0 votes
0 answers
45 views

MRTK OpenXR crashing with HTC Vive Cosmos

I'm creating Steam VR app and using MRTK 2.8 OpenXR I'm getting following error with crash on HTC Vive Cosmos though working good on oculus quest 2. Using both devices for streaming only [XR] [...
Khalid Mahmood's user avatar
1 vote
0 answers
269 views

Trouble deploying MRTK3 application on Hololens 2

I recently came across a Microsoft YouTube video on MRTK3 and became very excited about it. I decided to try it out and visited the Microsoft webpage to get started. I followed the tutorial carefully, ...
cyprien fol's user avatar
0 votes
0 answers
45 views

Can't find PhraseRecognitionSubsystem (MRTK3)

As i said in the title, i can't find PhraseRecognitionSubsystem in MRTK3 section of Project Settings in Unity. I did install every single package of the MRTK3 with MixedRealityFeatureTool, but these ...
gabbodam99's user avatar
0 votes
1 answer
94 views

Why is my MRTK 3 Android AR App background black?

I have set up a test with MRTK 3. I have tried to run this on my Android Phone. Touch inputs are detected. Even the movements of the smartphone are detected. The camera is displayed in Android as used....
spirit's user avatar
  • 3
0 votes
1 answer
74 views

dialog window MRTK

I'm creating UI for hololens. I want to add an error message to my login. Thus when the user types a wrong (password or/and username) during login an error message appears. I added the dialog window (...
EpicName's user avatar
0 votes
0 answers
104 views

How to customize a Controller visual model in MRTK3 when the existing one doesn't fit the physical one I'm holding?

I was wondering if I can customize the visual of a specific controller model while using MRTK3? I currently have two different VR Headsets which is Vive Focus 3 and Oculus Quest 2, both of them have ...
杜韋霆's user avatar
1 vote
1 answer
156 views

I don't know how to fix it. About the MRTK's NearInteractionGrabbable

I have a HoloLens 2, then I created one test project in Unity3D and put into my HoloLens 2, but I found a serious problem and I don't know how to fix it. This is the error that I found: ...
Derrick-Tai's user avatar
0 votes
0 answers
287 views

Unity fails to connect to Holographic Remoting Player App on HoloLens 2

I have a MRTK 3 project which I want to view in the Holographic Remoting app installed on a HoloLens 2. However, when I press play in Unity, the error message "Cannot establish a connection to ...
Judali's user avatar
  • 1
0 votes
0 answers
214 views

Is there is a right way to use scripts to disable Passthrough mode in my app which is developed with MRTK and Quest 2?

Unity 2020.3.22f1 MRTK 2.8 Oculus XR Plugins 1.10.0 I used MRTK and deploy to Quest2. In my unity scene,MixedRealityToolkit—>Input—>Input Data Provider—>XR SDK Oculus Devices Manager—>...
zhang nong's user avatar
0 votes
0 answers
181 views

How to control Unity UI Buttons with Keyboard?

I have five UI buttons A, B, C, D, and E in a quiz app, for which I want to assign different keys on keyboard, for example, 1, 2, 3, 4, and 5. OnClick method is written in a separate script called ...
PolarBear22's user avatar
0 votes
1 answer
91 views

Using FocusHandler.OnFocusEnter(FocusEventData) method to recolour objects based on time passed

I'm having some trouble with the FocusHandler.OnFocusEnter(FocusEventData) Method. I hope someone can help me. A bit of a newbie here to the MRTK2 toolkit. I want to recolour a cube based on the time ...
Keo95's user avatar
  • 3
1 vote
1 answer
387 views

Hololens2 does not recognize hands

When developing the Hololens2 application with unity, I imported the MRTK base package plugin. Debug in unity, call hand part, can interact normally. When I opened the program in Hololen2, I had no ...
风青云's user avatar
0 votes
0 answers
346 views

Unity Game view is black

I have created very small project with Unity with one button and one slate. When I open Game tab - its not showing anything but the black. Any package or setting is missing? Screen 1 - Screen 2 - I ...
Abhi's user avatar
  • 1,963
0 votes
1 answer
102 views

Want to do the Anchor for oculus quest In MRTK

I got a project that is for hololens and use vuforia to detect the object. But I want to convert it to oculus quest 2. It is for MRTK and I want to keep it because a lot of function on it.But there is ...
Lin Martin's user avatar
0 votes
1 answer
170 views

Unity - MRTK 2.7.3 Holographic Remoting App - Sounds are coming from pc speaker

I'm trying to add some audio clips to my Holographic Remoting App. However, when I execute the app sounds come from pc speaker. I want to use the speaker of Hololens 2 for the audio clips. I have ...
ercan erdem's user avatar
0 votes
0 answers
22 views

Save GameObject's size/coordinates from MRTK Bounds Control

I am manipulating the size and coordinates of a game object using the Bounds Control feature in MRTK. I have to later use those size and coordinates to another game object in a different scene. I am ...
Aaiza Khalid's user avatar
0 votes
0 answers
93 views

Image target can only be detected in a limited field of view on hololens 1

I am a beginner using hololens1 I am developing a simple AR apps to detect a target image and display an object. I am at a stage that I can successfully run the app on hololens and detect the image ...
Steven Tong's user avatar

1
2 3 4 5
10