Search code examples
unity-game-enginehololensmrtkwindows-mixed-realityopenxr

Unity HoloLens 2 deployed App stuck loading


I am trying to deploy an app from Unity 2020.3.32f1 to the Hololens 2 with Visual Studio 2022 over USB. Everytime I try to deploy the app, it builds and deploys through visual studio correctly before it begins to load in the Hololens, it then gets stuck on 4 spinning spheres and remains here until I open the start menu and click home.

I have tried building an app following the process defined here https://learn.microsoft.com/en-us/learn/paths/beginner-hololens-2-tutorials/ and still end up stuck trying to load the app with 4 endlessly spinning white spheres.

I am using MRTK 2.7.3 & Mixed Reality OpenXR Plugin 1.3.1 installed from the Mixed Reality Feature Tool Unity 2022.3.32f1 Visual Studio 2022

The previous project I was working with using MRTK 2.5.1, Unity 2019.4.28f1, visual studio 2022 and no OpenXR, with all the same settings works perfectly.

Below are the Build and Player Settings I am using

Build Settings

XR Plugin Management Settings

OpenXR Settings


Solution

  • This is fixed in Unity 2020.3.33f1 which was just released. A workaround was given by disabling the Splash screen in the Unity Editor.

    Here the release notes. https://unity3d.com/de/unity/whats-new/2020.3.33

    And the bug tracker entry. https://issuetracker.unity3d.com/issues/app-doesnt-launch-on-hl2-uwp-after-update-to-2020-dot-3-32f1

    I tried it by my self and it worked.

    My Environment:

    • Unity 2020.3.33f1
    • MRTK 2.7.3
    • Visual Studio 2019
    • OpenXR Plugin 1.3.1
    • XR Plugin Management 4.2.1