Search Unity

  1. We are migrating the Unity Forums to Unity Discussions by the end of July. Read our announcement for more information and let us know if you have any questions.
    Dismiss Notice
  2. Dismiss Notice

Question HOLOLENS

Discussion in 'Windows' started by Osvaldxx, Nov 24, 2023.

  1. Osvaldxx

    Osvaldxx

    Joined:
    Aug 21, 2023
    Posts:
    4
    Hello, I'm trying to integrate Hololens within Unity. I have added the Universal Windows Platform Build Support and Windows Build Support (IL2CPP) modules to a Unity Editor version 2023.2.1f and also to a 2022.3.14f1.
    In Visual Studio, I have:
    NET Desktop Development
    Desktop Development with C++
    Universal Windows Platform (UWP) Development (v143)
    Windows 11 SDK 10.0.22621.0

    However, in the build settings under the UWP platform, the option for Target Device is not available for me to select Hololens. Does anyone know what I can do?
     
  2. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,745
    You don't need to set HoloLens as the target device. Just switching to Universal Windows Platform should be enough for you to target HoloLens.
     
  3. Vuld1962

    Vuld1962

    Joined:
    Nov 30, 2023
    Posts:
    1
    Unity 2023.2.1f is relatively new, and there might be some compatibility issues with Hololens development. Try using a more stable and established Unity version like Unity 2021.3 or Unity 2022.3.
     
  4. ArielleWard

    ArielleWard

    Joined:
    Dec 6, 2023
    Posts:
    1
    it seems you're on the right track. Ensure your Unity version is compatible with the Windows Mixed Reality SDK. Try reinstalling both Unity modules and the SDK.
     
    Last edited: Dec 16, 2023
  5. otterio1

    otterio1

    Joined:
    Jul 31, 2023
    Posts:
    1
    Target device was removed starting from Unity 2020.4 (if i am not mistaken, it definitely possible in 2019.4). Meanwhile, do you mind sharing your experience with developing for Hololens in 2023 Unity? i am trying to look for the most optimal version for development but keep encountering different kind of bugs.