unity gameobject invisible in HoloLens 2 after deployment

I just started using unity to develop a small app for HoloLens 2 in my uni project. I created some simple unity projects and deployed them to HoloLens 2, the deployments were successful but after that, none of my objects appeared.
The unity projects I created:

  1. MRTK getting started. Followed this tutorial:
    https://www.youtube.com/watch?v=dOsYerpKloY

  2. Image Target getting started. Followed this tutorial:
    https://www.youtube.com/watch?v=Z4bBMpa4xWo

  3. a cube. The other setup steps are similar with 1. but I put only a cube in the scene.

  4. MRTK setup project. Followed this tutorial: Introduction to the Mixed Reality Toolkit - Set Up Your Project and Use Hand Interaction - Training | Microsoft Learn

Details of the problem I’m facing:
these projects work fine in play mode in unity, there were no error- nor warning massages(in yellow or red sign) weather when I enter or exit play mode. After deployment to HoloLens 2, there were splashed mesh, and microphone confirm was prompted, then nothing happend, no jumping spheres, no “made with unity” logo, no unity gameobjects, nothing.
I’ve searched in Internet for answers, but there seemed to be only few same problems and fewer answers. I tried several versions of unity, Visual Studio, vuforia, reinstall them many times, and tried all these again with another laptop, nothing has worked.

Tools I’ve tried:
windows 10, windows 11;
unity: 2020.3.4f1, 2020.3.11f1, 2020.3.48f1, 2021.3.7f1, 2021.3.33f1, 2022.3.14f1
visual studio community: 2019, 2022;
MRTK: 1.0.2209.0;
vuforia: 10-18-4, 10-19-3

now I use:
windows 10;
unity 2020.3.11f1(project1.&2.), unity 2020.3.4f1(project3.), unity 2021.3.33f1 & unity 2021.3.7f1(project4.);
Visual Studio 2019;
MRTK 1.0.2209.0;
vuforia: 10-18-4;
could someone help me out with this?

1 Like

I am facing the same problem and i want to know if you got issue fixed?
thank you for answering!

unfortunately no, I’ve tried a project , which has succeeded, from my fellow, but the project file he could found, wasn’t complete, I would continue to try first with someone else’ s sample projects and see what the differences between those and my projects, maybe through this way can I find the problem and solutions. I wish you Good Luck as well.

Hi, I am also facing the same issue and similarly if I use the project of someone else everything works fine. Were you able to solve the problem?