Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Question Hololens 2 windows sdk how to update

Discussion in 'AR' started by RendergonPolygons, Oct 28, 2022.

  1. RendergonPolygons


    Oct 9, 2019
    I work on a Windows 11 machine, Unity 2022.1.21f1, VS2022 v17.3.6 that has windows sdks installed shown below. My H2 device OS is up to date (OS build 20348.1522).

    I can build on Unity and release and deploy a project for H2 for version 10.0.10240.0

    I can build a release app in Unity with version 10.0.22621.0 but I can't deploy to H2. When I try to deploy via VS2022 I get this error in VS2022:

    Code (CSharp):
    1. Creating a new clean layout...
    2. Copying files: Total 188 mb to layout...
    3. Checking whether required frameworks are installed...
    4. Registering the application to run from layout...
    5. RemoteCommandException: Windows cannot install package XXX_1.0.0.0_arm64__ph1m9x8skttmg because this package is not compatible with the device. The package requires OS version 10.0.22621.0 or higher on the Windows.Holographic device family. The device is currently running OS version 10.0.20348.1522.
    7. 0x80073cfd
    8. ========== Build: 1 succeeded, 0 failed, 1 up-to-date, 0 skipped ==========
    9. ========== Deploy: 0 succeeded, 1 failed, 0 skipped ==========
    10. DEP0700: Registration of the app failed. [0x80004005] Failed to register through new deployment pipeline.
    In the H2 device the OS is up to date (Windows Update). My sense is the error OS version refers to a Windows SDK update? if so how do I update it if not via Windows update?

    Thanks for your help please
  2. andyb-unity


    Unity Technologies

    Feb 10, 2022
    RendergonPolygons likes this.
  3. RendergonPolygons


    Oct 9, 2019