Questions tagged [hololens]

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

Microsoft HoloLens, is a pair of mixed reality head-mounted smartglasses developed and manufactured by Microsoft Corporation. HoloLens gained popularity for being one of the first computers running the Windows Holographic platform under the Windows 10 operating system. HoloLens 1 was released in 2016 and is no longer available. HoloLens 2 is expected end of 2019 and available for preorder through Microsoft.

Developing apps for HoloLens can be done through Unity and of course DirectX. Because the device is not publicly available, you will need to purchase a developer kit to test applications you develop, although there is a HoloLens emulator that comes through the development overview.

1440 questions
18
votes
3 answers

Using Resources Folder in Unity

I have am developing a HoloLens project that needs to reference .txt files. I have the files stored in Unity's 'Resources' folder and have them working perfectly fine (when run via Unity): string basePath = Application.dataPath; string metadataPath…
whycodingsohard
  • 215
  • 1
  • 2
  • 8
12
votes
3 answers

Connect Unity to C++ WinSocket WITHOUT System.Net.Sockets

Windows 10, Unity 5.5.2 - note that this implicitly restricts .Net to version 3.5. I have a C++ application that I'm trying to connect to a Unity application over the air. I wish to continually send byte arrays from C++ to Unity. The catch is…
user650261
  • 2,115
  • 5
  • 24
  • 47
9
votes
2 answers

Using OpenCV in Hololens

We have developed in the past years our own tracking technology for custom markers. That tracker uses OpenCV for many image processing functions. It has been designed to work on PC systems (Windows and Linux) using USB and GigE cameras but now we…
RCYR
  • 1,452
  • 13
  • 28
8
votes
2 answers

How to create a MediaClip from RenderTargetBitmap in an efficent way?

I am trying to capture a video of a XAML grid in UWP app using c#. My approach. 1.Use RenderTargetBitmap to take a screenshot using renderTargetBitmap.RenderAsync 2.Convert the data to byte array. 3.Create an image file with the bytes and save it on…
kkica
  • 4,034
  • 1
  • 20
  • 40
8
votes
1 answer

HoloLens Callbacks with Native Library

My goal is to call methods, which are implemented in the Unity Code, from my UWP DLL. (So I can use them in my HoloLens Project) I tried this with a bigger project but failed. Therefore I wrote a simple example to make it easier to find the mistake…
alexfeh
  • 101
  • 5
8
votes
1 answer

Use Daydream Controller on HoloLens or outside Daydream?

The daydream controller is awesome and we want to be able to use it in my AR app. It pairs via bluetooth to the HoloLens just fine, but not sure if I can view it in Unity. Both HoloLens and daydream require their own Unity technical previews. …
Anand Agarawala
  • 121
  • 1
  • 3
8
votes
12 answers

Visual Studio failed deploy to HoloLens: Error DEP6957 : Failed to connect to device

I am having trouble deploying the Hololens Academy module: Holograms (210) to the Hololens device. It will ask for the pin, I enter it and it fails. I can deploy and run in the emulator just fine. I can assure that the computers are on the same…
Rob Allen
  • 2,871
  • 2
  • 30
  • 48
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
7
votes
1 answer

Spatial Understanding limited by a small area

I am working with the Hololens in Unity and trying to map a large area (15x15x25) meters. I am able to map the whole area using the SpatialMapping prefab, but I want to do some spatial processing on that mesh to smoothen out the floors and walls. I…
Enrique Avina
  • 973
  • 7
  • 20
7
votes
1 answer

Can I make a universal app using HTML that runs on Hololens?

I believe these statement are true: 1) All Universal Apps Work As Holograms 2) Universal Apps can be built using HTML/JS Does this mean I can build a holographic universal app using web technologies? For example a holographic visualizations…
parliament
  • 21,544
  • 38
  • 148
  • 238
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
1 answer

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?
Flerken
  • 75
  • 1
  • 5
6
votes
2 answers

Hololens falls asleep if moveless

In my app I need to measure a camera data if the glasses are moving or not. I get the data with: quaternions["x"] = Camera.main.transform.rotation.x; quaternions["y"] = Camera.main.transform.rotation.y; quaternions["z"] =…
Alexander Tumanin
  • 1,638
  • 2
  • 23
  • 37
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
6
votes
3 answers

Change the border's color of a button in Unity3D

I began to work with Unity3D since one month and I'm trying to do an application which contains a menu, composed by a panel and several buttons. At this moment, I'm trying to customize the menu, I change the fill color of the panel and buttons, but…
Margarita Gonzalez
  • 1,127
  • 7
  • 20
  • 39
1
2 3
95 96