MicrosoftDocs / mslearn-mr-adt-in-unity

This is a repo that holds the sample code for the Mixed Reality and Azure Digital Twins in Unity Learn Path
Creative Commons Attribution 4.0 International
65 stars 55 forks source link

Azure Digital Twins Simulation Device - deployment to Hololens 2 #13

Open RobMDoe opened 2 years ago

RobMDoe commented 2 years ago

RE: 'Build a 3D Scene for mixed reality in Unity'. I am unable to deploy 3D scene to Hololens 2. DeviceSimulator.sln is running fine and connecting to MS Azure services. Expecting request for Hololens 2 pin from Visual Studio as it's my first deployment this registration. App title BladeMR therefore not appearing in Hololens 2.

Using the following:

I have 2 questions:

  1. Does SimulatorDevice.sln only work with USB connection, not wifi?

  2. From Unity is it not possible to Build using UWP x64 and create VS .sln, hence we only use the .sln provided? If so, then wouldn't the 3 options for 'Deploy to Hololens 2, test, uninstall' included in mslearn-adt-in-unity 2nd, 3rd, 4th exercises (https://docs.microsoft.com/en-us/learn/paths/build-mixed-reality-azure-digital-twins-unity/) each run only the provided VS .sln? If not, I guess my set-up for Unity/Build noted above needs fixing. Please advise.

Thank you.