microsoft / MixedReality-SceneUnderstanding-Samples

MIT License
53 stars 20 forks source link

Impossible To use the application on real Environment while running on Hololens2 #27

Open lucamorando95 opened 2 years ago

lucamorando95 commented 2 years ago

It is for different days that i try to run the application on Hololens but simply it does not work. I work in Unity 2019.4.11.f1 with MRTK 2.5.4. I use Built-in XR with the box Virtual Reality Supported checked. In Virtual Reality SDKs i have Winodows Mixed Reality correctly configured. I Have configured the sample scene with Mixed Reality Toolkit and imported the sample scene Nav Mesh, Understanding and Placement as Described in the page. When i build the application to deploy it oh Hololens i check the box Query Data From Device. The application is correctly built and deployed on the Hololens but when i launch it I see the first menu where it is asked to load a scene. I select the desired scene with voice commands but the the app start to glitch, the menu become head locked and simply it does anything. I tried with also the new repository with unity 2020.4 and MRTK 2.7.3. Also there nothing. The app correctly display the second menu with the voice commands. It takes the vocie command inputs because i'm able to toggle the Menu but nothing else. Please Help.

jorgonz commented 2 years ago

Hi @lucamorando95 there could be several things happening here.

This repo had an update a few months ago to switch to Unity 2020 and Windows XR instead of built in XR. (Unity 2020 doesn't support built-in XR anymore)

Did you do any modifications after pulling a fresh copy of the repo?

Fastest way to check your config is correct is to just pull the repo again. and try building it, (I'm unsure if this is what you did or not, please do let me know if you already tried this)

Building as ARM64 Release config is also important, (again, you might have also done this, but just letting you know)

As for MRTK, are you implying that you pulled MRTK into your project after copying the repository to your computer? This repository doesn't have the MRTK toolkit inside it, so if you are using the MRTK toolkit I'm guessing you pulled it manually yourself after a fresh pull? is this what happened?