Build & Debug
The build output of a Unity project targeted at Hololens is a Visual Studio solution. Building the solution gives the final app and common debugging methods in VS are also appliable to this solution.
Debugging requires pairing the Hololens device, where a dynamic PIN code from the device would be required.
Debugging in Unity player (not tested): https://stackoverflow.com/questions/59990501/how-to-debug-a-unity-c-sharp-project-on-hololens
About pairing & debugging on device: https://docs.microsoft.com/en-us/windows/mixed-reality/develop/advanced-concepts/using-visual-studio?tabs=hl2
Also official debugging tutorial: https://docs.microsoft.com/en-us/windows/mixed-reality/develop/unity/managed-debugging-with-unity-il2cpp
Last updated
Was this helpful?