402 questions with HoloLens Development tags

Sort by: Updated
1 answer

How to access camera preview frames with MediaCapture class in Unity?

Using the Windows MediaCapture class we can capture videos and images on the HoloLens 2. The class also offers preview capabilities (see here). However, I am not sure how to get the preview stream within Unity and then display it to the user. In the docs…

Universal Windows Platform (UWP)
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
11,039 questions
HoloLens Development
HoloLens Development
HoloLens: A family of Microsoft self-contained, holographic devices that enable engagement with digital content and interaction with holograms in the surrounding environment.Development: The process of researching, productizing, and refining new or existing technologies.
402 questions
asked 2024-11-15T08:24:11.62+00:00
Valentin 40 Reputation points
commented 2024-11-18T14:17:02.6933333+00:00
Valentin 40 Reputation points
2 answers

delpoy to hololens2 , cannot pair with Hololens2 , vs don't show the window about pin

When I first deploy to hololens2 with vs2022 . according to the article , the first time to deploy , we need pair with hololens . but vs don't show the pin window, so i have no chance to input pin number. and it show a error , cann't fin…

HoloLens Development
HoloLens Development
HoloLens: A family of Microsoft self-contained, holographic devices that enable engagement with digital content and interaction with holograms in the surrounding environment.Development: The process of researching, productizing, and refining new or existing technologies.
402 questions
asked 2022-09-06T04:12:20.613+00:00
zhenghui yang 1 Reputation point
commented 2024-11-16T16:36:05.32+00:00
cxy201 0 Reputation points
1 answer One of the answers was accepted by the question author.

Unable to deploy apps to the HoloLens since October, "DEP 6957: Failed to connect to device using Universal Authentication"

I was able to deploy apps to the headset with no problem till October, but for the last month or so have simply not been able to connect using Visual Studio. I've tried deploying to multiple headsets from multiple PCs (all of which worked fine before),…

HoloLens Development
HoloLens Development
HoloLens: A family of Microsoft self-contained, holographic devices that enable engagement with digital content and interaction with holograms in the surrounding environment.Development: The process of researching, productizing, and refining new or existing technologies.
402 questions
asked 2024-11-13T01:35:28.1866667+00:00
Radha Kumaran 20 Reputation points
accepted 2024-11-16T00:44:24.9766667+00:00
Radha Kumaran 20 Reputation points
1 answer One of the answers was accepted by the question author.

VideoCapture API in Unity3D on HL2 only returns Legacy Resolutions under SupportedResolutions

Using VideoCapture API I am able to record videos on the HL2 for resolutions 2272x1278 and 896x504. I am encountering the same problem as described here:…

C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
11,039 questions
HoloLens Development
HoloLens Development
HoloLens: A family of Microsoft self-contained, holographic devices that enable engagement with digital content and interaction with holograms in the surrounding environment.Development: The process of researching, productizing, and refining new or existing technologies.
402 questions
asked 2024-03-07T16:28:44.2733333+00:00
Valentin 40 Reputation points
commented 2024-11-15T07:36:25.36+00:00
Valentin 40 Reputation points
1 answer

Hololens 2 Unity app running on desktop and custom sample player don't have the same coordinate system

Hello, I'm currently engaged in a project involving marker tracking using the front camera of the HoloLens 2. My setup involves a Python client that streams camera data, detects ArUco markers, converts their position and orientation to world coordinates,…

HoloLens Development
HoloLens Development
HoloLens: A family of Microsoft self-contained, holographic devices that enable engagement with digital content and interaction with holograms in the surrounding environment.Development: The process of researching, productizing, and refining new or existing technologies.
402 questions
asked 2024-05-08T02:39:18.08+00:00
Oualid kilani 5 Reputation points
commented 2024-11-15T03:38:19.2666667+00:00
jayashah 0 Reputation points
1 answer

VS2022 Error When Deploying HoloLens 2 Application: GameAssembly.lib Not Found

I encountered an error while deploying a HoloLens 2 application using VS2022: GameAssembly.lib not found. I noticed that the file does not exist in the Build folder and I'm not sure why it wasn't generated. I am deploying via Wi-Fi.

Universal Windows Platform (UWP)
HoloLens Development
HoloLens Development
HoloLens: A family of Microsoft self-contained, holographic devices that enable engagement with digital content and interaction with holograms in the surrounding environment.Development: The process of researching, productizing, and refining new or existing technologies.
402 questions
asked 2024-10-29T13:31:49.65+00:00
琛博 程 0 Reputation points
commented 2024-11-13T17:37:06.3033333+00:00
slaters5050 0 Reputation points
0 answers

World Spatial Anchors

Is there a video that is easier for me to follow in terms of downloading and making world anchors as I am stuck when trying to follow the guide and I will tend to get a lot of errors within the unity project.

HoloLens Development
HoloLens Development
HoloLens: A family of Microsoft self-contained, holographic devices that enable engagement with digital content and interaction with holograms in the surrounding environment.Development: The process of researching, productizing, and refining new or existing technologies.
402 questions
asked 2024-09-12T02:51:42.6266667+00:00
Rephael Kwek Seng Hean 20 Reputation points
edited the question 2024-10-30T02:51:15.1366667+00:00
Jay Zuo - MSFT 166 Reputation points Microsoft Employee
0 answers

Determining the Transformation between the HoloLens Reference Frame and a Metrological Coordinate System

I'm trying to determine the position of the HoloLens reference frame relative to a coordinate system provided by a metrology device. Although I have the positions of the sensors I've placed on the HoloLens, these positions are given in the coordinate…

HoloLens Development
HoloLens Development
HoloLens: A family of Microsoft self-contained, holographic devices that enable engagement with digital content and interaction with holograms in the surrounding environment.Development: The process of researching, productizing, and refining new or existing technologies.
402 questions
asked 2024-09-11T01:39:21.31+00:00
Kanali, Mohamed Hosame 0 Reputation points
edited the question 2024-10-30T02:50:35.19+00:00
Jay Zuo - MSFT 166 Reputation points Microsoft Employee
1 answer

Hololens 2: Deploying from Unreal Editor: Device connection failed: Requesting operating system information, The remote certificate is invalid according to the validation procedure.

I am following this tutorial Deploy to device in Unreal - Mixed Reality | Microsoft Learn but I get an error when deploying it. Automation.ParseCommandLine: Parsing command line:…

HoloLens Development
HoloLens Development
HoloLens: A family of Microsoft self-contained, holographic devices that enable engagement with digital content and interaction with holograms in the surrounding environment.Development: The process of researching, productizing, and refining new or existing technologies.
402 questions
asked 2024-09-25T07:36:41.51+00:00
Joshua Park 0 Reputation points
edited the question 2024-10-30T02:47:20.1633333+00:00
Jay Zuo - MSFT 166 Reputation points Microsoft Employee
2 answers One of the answers was accepted by the question author.

HoloLens 2 Environments

Currently am for my project am now trying to create an environment that will for example when I open the environment from anywhere, it will scan my surroundings and the necessary holograms will come out and stay there. And the Holograms will be at a…

HoloLens Development
HoloLens Development
HoloLens: A family of Microsoft self-contained, holographic devices that enable engagement with digital content and interaction with holograms in the surrounding environment.Development: The process of researching, productizing, and refining new or existing technologies.
402 questions
asked 2024-09-09T06:40:11.9433333+00:00
Rephael Kwek Seng Hean 20 Reputation points
commented 2024-10-10T05:55:27.77+00:00
zaini67 0 Reputation points
2 answers

Implementing GameObject Interaction with Pressable Button on HoloLens 2 instead of finger

I would like to know how i can make a Gameobject in unity interacting with a pressablebuttonhololens2 the same way as a finger ! Thank you for your answer

HoloLens Development
HoloLens Development
HoloLens: A family of Microsoft self-contained, holographic devices that enable engagement with digital content and interaction with holograms in the surrounding environment.Development: The process of researching, productizing, and refining new or existing technologies.
402 questions
asked 2024-10-05T18:26:22.69+00:00
Oualid kilani 5 Reputation points
commented 2024-10-09T08:27:55.7833333+00:00
Oualid kilani 5 Reputation points
2 answers

I am getting compilation errors in Unity that nonnativekeyboard could not be found.(MRTK3)

I am getting a lot of error messages like this wich prevents compilation: Library\PackageCache\org.mixedrealitytoolkit.uxcore@45c07beda63c\Experimental\NonNativeKeyboard\TMPInputFieldNonNativeKeyboardTrigger.cs(67,42): error CS0103: The name…

HoloLens Development
HoloLens Development
HoloLens: A family of Microsoft self-contained, holographic devices that enable engagement with digital content and interaction with holograms in the surrounding environment.Development: The process of researching, productizing, and refining new or existing technologies.
402 questions
asked 2023-10-15T14:39:59.6966667+00:00
Adrian Rudolf 50 Reputation points
edited the question 2024-10-03T08:41:24.96+00:00
TP 98,811 Reputation points
1 answer One of the answers was accepted by the question author.

Hololens 2 run app on Windows Pc

Hi Folks, I need some favor for Hololens 2. I developed an app on Unity and it works well. My question, I want to run the app on Windows Pc connected to my HL 2 and play it as a remote connection. Such as Unity Holographic Remoting. Is there any…

HoloLens Development
HoloLens Development
HoloLens: A family of Microsoft self-contained, holographic devices that enable engagement with digital content and interaction with holograms in the surrounding environment.Development: The process of researching, productizing, and refining new or existing technologies.
402 questions
asked 2022-04-19T03:06:35.517+00:00
Bahadır ÇAKAR 21 Reputation points
edited the question 2024-09-21T13:47:55.9133333+00:00
TP 98,811 Reputation points
1 answer One of the answers was accepted by the question author.

Hololens 2 Preview mismatch

Hello, I've recently acquired an Hololens 2 and I'm doing some developments on it to detect objects and align holograms to it. My Apps work properly when I look at the scene with my own eyes, which is cool. However all the holograms are shifted when I…

HoloLens Development
HoloLens Development
HoloLens: A family of Microsoft self-contained, holographic devices that enable engagement with digital content and interaction with holograms in the surrounding environment.Development: The process of researching, productizing, and refining new or existing technologies.
402 questions
asked 2024-04-11T13:38:05.0333333+00:00
Sandra Marcadent 20 Reputation points
edited the question 2024-09-21T13:37:48.4933333+00:00
TP 98,811 Reputation points
2 answers

Hololens 2 Emulator XDE:001

So, I installed Hololens 2 on my company PC to try to debug some things. However, despite being installed and VS2019 recognize, I'm only getting that error:

HoloLens Development
HoloLens Development
HoloLens: A family of Microsoft self-contained, holographic devices that enable engagement with digital content and interaction with holograms in the surrounding environment.Development: The process of researching, productizing, and refining new or existing technologies.
402 questions
asked 2024-01-17T15:29:11.8266667+00:00
Pedro Zanardi 10 Reputation points
commented 2024-09-04T04:08:41.12+00:00
mailey09 0 Reputation points
1 answer

Error with GameAssembly.dll when deploying Unity MRTK project to HoloLens 2

When attempting to deploy a new Unity project with the latest MixedRealityToolkit, I received an error message regarding "GameAssembly.dll": Unhandled Exception Unhandled exception at 0x00007FFB67740C68 (GameAssembly.dll) in PROJECT NAME.exe:…

HoloLens Development
HoloLens Development
HoloLens: A family of Microsoft self-contained, holographic devices that enable engagement with digital content and interaction with holograms in the surrounding environment.Development: The process of researching, productizing, and refining new or existing technologies.
402 questions
asked 2024-08-26T20:59:16.03+00:00
Jakub Němec 45 Reputation points
commented 2024-09-03T14:39:31.14+00:00
Surya Bhavana 0 Reputation points
1 answer One of the answers was accepted by the question author.

HoloLens 2 app with MRTK opens as 2D window

I have created a new project in Unity with the latest version and installed Mixed Reality Toolkit. However, when I deploy the scene to my HoloLens 2, it launches as a 2D window instead of a 3D AR application. How can I convert this to a 3D AR…

HoloLens Development
HoloLens Development
HoloLens: A family of Microsoft self-contained, holographic devices that enable engagement with digital content and interaction with holograms in the surrounding environment.Development: The process of researching, productizing, and refining new or existing technologies.
402 questions
asked 2024-08-24T14:05:53.1733333+00:00
Jakub Němec 45 Reputation points
accepted 2024-08-29T10:48:11.8966667+00:00
Jakub Němec 45 Reputation points
1 answer

Seeking Help for HoloLens App Going Black After 1-2 Minutes of Operation

I opened an application that I developed by Unity in HoloLens, but the application only lasted for 1-2 minutes each time, then it went black. The black screen lasted for about 10 seconds, then a pop-up window appeared. The pop-up window showed a cross in…

HoloLens Development
HoloLens Development
HoloLens: A family of Microsoft self-contained, holographic devices that enable engagement with digital content and interaction with holograms in the surrounding environment.Development: The process of researching, productizing, and refining new or existing technologies.
402 questions
asked 2023-09-16T10:22:41.44+00:00
Pei Yunqiang 5 Reputation points
answered 2024-08-26T18:57:05.3266667+00:00
marlie09 0 Reputation points
2 answers

How to implement a time-dependent virtual number overlay on a QR code scanned by Hololens 2 using Unity 2022.3.14.f1 and Visual Studio 2019?

I’m trying to create an application using Unity 2022.3.14.f1 and Visual Studio 2019 for the Hololens 2. The goal is to scan a QR code and render a virtual number on top of it. This number should increment over time. I’m not sure how to approach this…

HoloLens Development
HoloLens Development
HoloLens: A family of Microsoft self-contained, holographic devices that enable engagement with digital content and interaction with holograms in the surrounding environment.Development: The process of researching, productizing, and refining new or existing technologies.
402 questions
asked 2023-12-12T01:58:11.26+00:00
Pei Yunqiang 5 Reputation points
answered 2024-08-26T18:55:14.7533333+00:00
marlie09 0 Reputation points
1 answer One of the answers was accepted by the question author.

Using Socket programming on HoloLens2 - development using Unity

Hi I'm currently working on a project which requires socket programming using UDP. I need to send packets through my Hololens to trigger some actions. I had made my initial development using Unity. Initially, I used Systems.Socket. Though It worked…

HoloLens Development
HoloLens Development
HoloLens: A family of Microsoft self-contained, holographic devices that enable engagement with digital content and interaction with holograms in the surrounding environment.Development: The process of researching, productizing, and refining new or existing technologies.
402 questions
asked 2024-08-13T17:16:19.7066667+00:00
prahlalad 40 Reputation points
accepted 2024-08-14T03:26:59.2066667+00:00
prahlalad 40 Reputation points