Azure Digital Twins Simulation Device - deployment to Hololens 2

Robert Doe 51 Reputation points
2022-02-11T08:10:56.373+00:00

Hi,
Re: 'Build a 3D Scene for mixed reality in Unity'.
Unable to deploy 3D scene to Hololens 2. Visual Studio 2019 DeviceSimulator.sln is running fine and connecting to MS Azure services. Expecting request for Hololens 2 pin from Visual Studio as first deployment this registration. App title BladeMR is therefore not appearing in Hololens 2.

Build settings in Unity are UWP and x64 (ARM64 not available).
VS 2019 configured to Release and x64.
Using Wifi connection to PC and Hololens 2. All registered in my ownership (not an institution).
Windows 11 Pro 21H2.

How can I deploy the app in Hololens 2? Please advise.

Azure Digital Twins
Azure Digital Twins
An Azure platform that is used to create digital representations of real-world things, places, business processes, and people.
231 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.
400 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Hernando Ren 2,171 Reputation points
    2022-02-18T06:01:14.927+00:00

    Could you try to do the following step on the VS to deploy your app?

    1. Navigate into the project folder that was built by Unity, find the solution file located inside this folder, and open it with Visual Studio.
    2. Click the Compilation Options drop-down and choose the Release.
    3. Choose the ARM64 configuration option.
    4. Click the deployment target drop-down and select Device. (Make sure your HoloLens 2 is connected to the PC.)

    If the behavior is the same, please provide more details about "ARM64 not available" in your Unity.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.