Newest 'hololens' Questions - Stack Overflow

Questions tagged [hololens]

Applicable for all questions related to development for Microsoft HoloLens devices and the Mixed Reality platform.

0
votes
0answers
11 views

How to perform spatial anchor by object recognition in Hololens

I'm looking for a way to implement a BIM model on a existing building with unity through hololens. My first idea was to place the model through image recognition in vuforia and world anchors, but i ...
1
vote
1answer
44 views

How do I discard pixels based on vertex color and turn that on or off in a MonoBehaviour?

I've written a shader that uses a mesh's vertex colors and also has a function that clips all vertices that have an interpolated vertex color in the blue channel greater than 0.5 (discards all blue ...
-3
votes
1answer
36 views

“What is the best version of Unity for developing Hololens app using MRTK?”

I begin in creating apps for Hololens. I plan to use Unity and MRTK. What is currently the best version of Unity for developing Hololens app using MRTK?
0
votes
0answers
18 views

HoloLens 2 Emulator Error 0x80004003 - Object reference not set to an instance of an object

I have been trying to deploy a Unity application to the Hololens 2 emulator for a while now and have not found a solution that works. I have run through every troubleshooting document and ...
-1
votes
1answer
44 views

How to use hololens with vuforia

I am having problems with setting up Vuforia to work with Hololens (1st gen). Hololens doesnt seem to track imagetargets or object targets in unity and therefore wont display my AR content. I am using ...
0
votes
2answers
42 views

Launch Microsoft Remote Assist application from HoloLens app

I want to launch Microsoft Remote Assist application from my HoloLens app. As per my primary research, this is possible via UWP API (LauncherUriAsync method), just by passing my Azure Active Directory ...
0
votes
2answers
58 views

Running MRTK2 project gives “ Failed to resolve System.Reflection.BindingFlags”

I am trying to port my project over from Unity 2017 LTS to 2018 LTS and MRTK2. Everything was going pretty smoothly until I tried to run the project on an HoloLens 1 emulator. I get the following ...
1
vote
1answer
33 views

Which script in MRTK enhances hologram stabilization?

I couldn't figure out what part of the Mixed Reality Toolkit takes care of stabilization of holograms. Could any point me to that? I realized that stability of holograms is enormously improved when ...
0
votes
2answers
29 views

Unity - MRTK - HoloLens: Modify Collider of 2D-Buttons so the Cursor gets closer

My current problem is that the cursor appears too far away from a button. You can see in the screenshot what I mean. Hovering over a button from the list lookes like this: Question: What can I do so ...
1
vote
1answer
48 views

Setting up Hololens MRTK 2.0 with Vuforia in Unity 2019.1

I'm developing a Unity app for the Hololens 1 that uses Vuforia. Unfortunately, I cannot get the camera to work with Vuforia, it remains frozen in place and does not follow head movement. When I ...
2
votes
1answer
54 views

Hololens barcode reader using UWP C#

Here i would like to know about reading the barcode from hololens. public sealed partial class ScanQrPage : Page { public bool SoftwareTriggerStarted { get; set; } = false; bool ...
-1
votes
0answers
97 views

Code leads to NullReferenceException, but why? [duplicate]

I'm developing a HoloLens-App via Unity which includes some yield Commands, waiting for initialization of an object. When I deploy the App on Unity, everything works fine. However, when I test this ...
0
votes
1answer
46 views

How to place the virtul object on the real object by using pixel coordinate and raycast?

How to placed the virtual object on the real object by using pixel coordinate and raycast. I stuck on this problem for a month. T^T Based on the question from here https://forums.hololens.com/...
3
votes
1answer
46 views

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, ...
0
votes
1answer
41 views

Surface Magnetism Horizontal z-axis Rotation issue

I've been using the MRTK RC1 Refresh Development Kit. I'm using Surface Magnetism, to have an object follow the room's surfaces, with the following settings: Orientation Mode = "Full", Raycast ...
1
vote
1answer
17 views

Getting collision coordinate for gaze pointer in MRTK2

I need to get the coordinates of the collision between the gaze pointer and an objects in Hololens, when the object is "clicked". All the examples use MRTK1, how do you do this in MRTK2? I know you ...
1
vote
1answer
63 views

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 ...
1
vote
1answer
31 views

The problem that MRTK's IInputClickHandler method is called repeatedly

I am developing the HoloLens app using Unity2018.3.1 and MRTKver.2017.4.2 At first, I could use MRTK exsamples' script "Interactive.sc" etc. without problem in AirTap series operation, but ...
0
votes
1answer
54 views

Error UnityEngine.XR.WSA.Input.InteractionManager::GetCurrentReading_Internal

I am working to create a Hololens application using Vuforia for the Tracking system and MRTK for the interaction with the objects. The problem comes when mounting the solution in Visual Studio, I can ...
2
votes
0answers
34 views

How to crop objects from Hololens spatial mesh

trying to save the 3D mesh of an object (a cup) from the spatial mesh that Hololens generates. I find the coordinates of the cup using image processing (from Hololens video camera), and put a virtual ...
0
votes
1answer
41 views

DNS-SD for HoloLens Device Portal

Anyone has used DNS-SD to discover the presence of HoloLens' Device Portal on the local network? Though docs claim it does advertise itself, I have found this very unstable and discovery is very ...
0
votes
1answer
56 views

Using Unity 3d asset bundles on Hololens from device folders

We are building a Hololens app which is going to use asset bundles from the device folders, but we are getting a 'Unable to open archive file' error when trying to load the bundle files. As we don't ...
0
votes
0answers
37 views

Which version of the DLL file should I use in HoloLens?

I am very new in developing HoloLens's app. In my development project, I need to add many other references in Visual Studio 2017. But I don't know which versions of these references should be selected....
0
votes
1answer
75 views

How to Deploy a unity working app to the HoloLens 1?

I have followed some guidelines found online on how to build a unity application using MRTk2 and saw which bugs to ignore, nevertheless, after building my solution I am unable to deploy it to the ...
3
votes
2answers
51 views

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 ...
2
votes
0answers
34 views

The endpoint for my Azure APIs (Translator Text, Computer Vision) is not accesible (error code 404)

I followed the Hololens Tutorials provided by Microsoft and encountered some problems regarding Azure services in 301 (https://docs.microsoft.com/en-us/windows/mixed-reality/mr-azure-301#chapter-4--...
0
votes
0answers
25 views

Finding Hololens App AUMID for Kiosk Mode

I am trying to set up multi-app kiosk mode on a Hololens headset and allow access to an app that I will be sideloading onto the Hololens. I've been using these guides to try and create a provisioning ...
0
votes
1answer
57 views

Trying to merge two shaders (double sided and cross section) but getting syntax error

I am trying to "merge" the code of two shaders: The first one is a double sided shader for Hololens from the Microsoft Holotoolkit: // Copyright (c) Microsoft Corporation. All rights reserved. // ...
1
vote
1answer
68 views

How can I change hand-rays in my MRTK v2 project for HoloLens 2 to parabolic instead of linear?

My HoloLens 2 project has content that is arranged as such I cannot target colliders with the existing hand-rays. I used to target my content with the head-gaze, but with hand-rays being lower on the ...
0
votes
1answer
50 views

Do you know how to solve this problem when building under holo? CS0234

I'm new to this and can't figure out how to fix these errors that keep me from building a project for HoloLens. I would be very happy if you could help me with this problem, I think that it is so easy ...
0
votes
1answer
43 views

Why does my fixed hologram not scale with head movement?

I am placing a Direct X sphere using a fixed frame of reference. When I move my head, the sphere hologram stays in place. But it does not scale. It DOES scale when I first place it using ...
1
vote
1answer
44 views

Accessing the Mesh from the Hololens trough the Holotoolkit

I am currently developing a Unity project for the HoloLens. For this I am using the Spatial Mapping Observer and the Spatial Mapping Manager from the HoloToolkit. I need to access the spatial Mesh, in ...
-2
votes
0answers
29 views

Best option to send Data from UWP Application to HoloLens

I currently try to send data like image or pdf to the HoloLens via an UWP Application. For sending Images I used websocket and convert the image to base64string. Basically I could send pdf with the ...
4
votes
2answers
93 views

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 ...
2
votes
2answers
77 views

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 ...
3
votes
1answer
28 views

Hololens Spatial Understanding Calculating Measurements

I have been reading through related holotoolkit spatial understanding codes but could not find anything related to getting the dimentions of found table. I followed this great tutorial to add table as ...
1
vote
0answers
77 views

HoloLens cannot connect to OpcUa server

I want to connect to the OpcUa server through the APP on HoloLens and read the node's data. It works on Unity and works fine, but it can't connect to the OpcUa server in HoloLens. I use the ...
1
vote
1answer
73 views

Hololens emulator showing NullReferenceException

I'm trying to run a Hello World kind of problem for a HoloLens on emulator but it is showing error: The following unexpected error occurred during bootstrapping stage 'Connecting to the device '<...
1
vote
1answer
30 views

How to import uPLibrary to Unity to work with HoloLens?

I'm trying to create an MQTT client to establish a communication between HoloLens and an MQTT broker. I created a script inside the Assets folder and tried to write an MQTT client using the following ...
0
votes
0answers
50 views

How to establish a connection between HoloLens and a MQTT broker?

I'm very new to HoloLens development. Therefore please excuse me if this is an amateur question. I'm currently working transmitting hand gestures detections of the HoloLens to an external MQTT broker. ...
5
votes
1answer
61 views

Will the Azure Kinect also support the HoloLens 2 hand tracking API?

I want to set up the new Azure Kinect service to support the HoloLens 2 hand tracking API. Is this possible? Will it be supported in the future?
2
votes
0answers
26 views

Detect media capture on hololens

I need to detect if the Hololens captures a photo or a video, in order to start some post-processing steps. I tried using AppCapture.GetForCurrentView().CapturingChanged as suggested in this post, ...
0
votes
1answer
80 views

Locating accuracy of Azure Spatial Anchors and Unity World Anchor

I've trying use spatial anchors for my Hololens app, that persists holograms across app sessions. My app does't run on android or ios: runs only on Hololens, also does not share anchors among other ...
0
votes
2answers
55 views

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 ...
2
votes
1answer
42 views

How to edit an XML file in Streamingassets from my hololens

I have a really frustrating problem with my app, I'm using Vuforia and I'm trying to edit and save an xml in streamingassets from runtime, however, I get the following exception: ...
3
votes
1answer
68 views

How to call the default browser in the Hololens app

I want to create an app that calls the Hololens default browser. I used the following code, but whenever I call this function, the Application will crash. If this code is not suitable for UWP, how can ...
2
votes
0answers
30 views

Minimized Hololens application stops recognize air-taps - events doesn't work

Minimized Hololens application stops recognize air-taps. It happens when you've let the app go idle for a while and then try to restart your session. the gaze will turn into a doughnut but it won't do ...
1
vote
2answers
64 views

How to always get the AR design in front of the spatial walls Unity HoloLens

I am building an app for the HoloLens gen 1 device using Unity 2018.3.13f and MRTK V2 RC1. I got a simple AR design with 2 text objects and 1 rawimage object. After building the project and deploying ...
1
vote
1answer
72 views

HoloLens: Spatial Mapping does nothing

Im trying the spatial mapping prefab and nothing is happening. I dont see the spatial mapping mesh and my cursor is also going through everything... I enabled SpatialPerception I dragged the spatial ...
2
votes
1answer
57 views

Can I record a video of an app in the Hololens that also uses the camera? Is there a way to do both?

I am developing an application in the Unity engine for the Microsoft Hololens that uses the camera to take pictures. In our code, first photo mode and the camera is started, the picture is taken, then ...