Forum Discussion
Unity App Stuck Loading On HoloLens 2
I am following https://learn.microsoft.com/en-us/windows/mixed-reality/develop/unity/unity-development-overview?tabs=arr%2CD365%2Chl2 and https://learn.microsoft.com/en-us/training/paths/beginner-hololens-2-tutorials/ to test AR on a HoloLens 2, and I go to the part where I have a Unity game with all the proper setup (ie. build settings are correct, I used Unity AR feature tool, etc.) and with 2 squares.
I built the project and opened the solution, and then I set the configuration to "Release," platform to "ARM64," and set it to "Device" because I have the HoloLens directly connected to my laptop.
I selected the Unity app solution and right-clicked it to "Set as Startup Project." Then, I pressed the green button next to "Device" to build and deploy it.
The first time, I got prompted to enter a pin after a bit, which I did, and once the deployment was done, the app showed in the "All Apps" section, but once I clicked on it, I got a window that had a white background with a box with an X in the middle of the screen. On top, there is a blue circle with a white loading circle that was loading for forever.
I tried rebuilding it multiple times, recreating the Unity project in a new project, and double-checking my Unity build settings, but those were correct.
How can I fix this issue?
I'm using Unity version 2022.3.20f1.
Thank you,
Avinash Devineni
Edit:
Now it started doing the environment scanning visual, but still shows a white box, although there is no blue loading circle anymore. I didn't change anything or redeploy it to the HoloLens 2, so I'm not sure why it started doing something different.