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
7
votes
2 answers

The ball goes through the ground in holo lens but in unity it works well.Spatial Mapping

I have built a ball that bounces around my office. In unity it bounces perfectly but when I debug the project in the holo lens 2 the ball goes through the ground, it's as if I didn't recognize the ground. What scripts should I put to recognize my…
Liliymas
  • 335
  • 7
  • 18
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…
6
votes
2 answers

MRTK (V2) Need to update Hololens?

I'm trying to check out the new MRTK (V2) but I had been having troubles making the build, first on Unity which make me download the Windows SDK 18362, now I'm trying to continue the build on Visual Studio 2017 for testing but it brings me this…
Hectorales
  • 85
  • 1
  • 9
5
votes
1 answer

HoloLens - Unity: How to change color of cursor?

I tried to change the color via script on runtime of the cursor and it worked to 75%: Mesh_top is the only part that does not change the color and I dont know why. All 4 parts use the same material, named "cursormaterial". What I tried: Changing…
Perazim
  • 1,501
  • 3
  • 19
  • 42
4
votes
1 answer

Hololens Unity app always deploys in 2D instead of 3D

I'm developing an app for the Hololens 1 in Unity, and it runs perfectly fine on the device when using Holographic Remote. However whenever I build and deploy the application through Visual Studio, it then only launches in 2D mode on the Hololens…
4
votes
2 answers

HoloLens: How to stabilize holograms at far distances

I want to place virtual objects (holograms) at far distances (20+ meters) in the HoloLens 1. However, at such distances holograms become unstable and appear to "swim" in the display. Has anyone had success with this? What worked for you? Some…
adhocdown
  • 43
  • 4
4
votes
2 answers

Unity HoloLens App is executed as Windows App instead of AR

I am building a HoloLens Unity App using the following tools Unity 2018.3.14f1 Visual Studio 2017 Microsoft.MixedReality.Toolkit.Unity.Foundation-v2.0.0-RC1-Refresh.unitypackage (MRToolkit v2) Unity Project/Scene Configuration Target Platform:…
VJPPaz
  • 917
  • 7
  • 21
4
votes
2 answers

How change expanding direction of VerticalLayoutGroup in Unity without rotating?

I need to change the expanding direction of the VerticalLayoutGroup. With the default behavior the group will expand downstairs. What i want is, that the group will expand upstairs. The expected behavior is described in this Video. (Link to the…
3
votes
2 answers

How do I properly reload a Unity Scene that uses MRTK for the Hololens2?

This is my first project using the Hololens and MRTK for Unity. I want to make a button that restarts the experience for the player when pushed. I connected a button to a new script with the following…
NCarlson
  • 330
  • 2
  • 13
3
votes
2 answers

How do I use the Microsoft Scene Understanding SDK and hololens2 to align the Unity Scene to the player's physical room?

Edit: This is closed because it needs more details, yet people keep upvoting it. So I'll do my best to add some. This question was poorly formatted, as it was really 2 questions. 1) How do I fix this code from the documentation? 2) How do I align…
NCarlson
  • 330
  • 2
  • 13
3
votes
1 answer

MRTK | HoloLens - Get all Triangles of a Mesh within an Object

- Question - I want to interact with the spatial mesh that I can access via MRTK. I want to instantiate a sphere at the cursor position and get every triangle of the spatial mesh that is inside of the sphere, so I can cut that out and save it for…
Perazim
  • 1,501
  • 3
  • 19
  • 42
3
votes
0 answers

Scrolling through a viewport doesn't work with Hololens since using MRTK v2

I'm having trouble scrolling through a Viewport UI-Element I made. Using the old HoloToolKit solutions won't do it for the new MRTK. Since I've upgraded to MRTK v2 it doesn't work. I am able to use the UI-Buttons from Unity. But when I try to scroll…
Spoon
  • 173
  • 1
  • 2
  • 12
3
votes
1 answer

I do not see a Speech Input Source script in my mrtk (mixed reality toolkit) in the project search bar in unity

I am trying to implement voice commands into my unity project to eventually be used in the HoloLens. At the moment, I am simply trying to make a cube change colors using the speech input handler script and speech input source script. I have the…
3
votes
1 answer

Why is 'air tap' gesture not working on HoloLens1 in my Unity/MRTK app?

I have a Unity app that I'd like to integrate with the Microsoft Mixed Reality Toolkit (MRTK). When I add the MRTK (v2.1 or v2.2) package to my Unity project, I can simulate the "air tap" gesture in the Unity Editor and the app registers the click.…
Evelyn
  • 33
  • 6
3
votes
0 answers

Unity3D: Only a Cube appears while trying to spectate through Hololens

I am using Azure Spatial anchors as my Spatial Alignment Strategy. Please let me know if I did anything wrong So, if user side Hololens views a hologram, I want the same hologram to be viewed by the Spectator as well. I have a main scene where I…
1
2 3
29 30