Unity build error "The local machine does not support running projects complied for the ARM64 architecture"

Matthew O'Leary 20 Reputation points
2023-10-17T22:37:26.09+00:00

Hello, I've been getting errors recently where I cannot build an ARM64 project for the UWP platform on Unity3D to be deployed onto the HoloLens2. On Unity, it states in the build settings that "The local machine does not support running projects complied for the ARM64 architecture". And when I try to actually build the application, I get these error messages:

“Error building Player: BuildFailedException: Burst compiler (1.6.6) failed running 

stdout: 

Burst requires Visual Studio 2017 or greater (in addition, the following Visual Studio components need to be installed via the Visual Studio Installer: (1) the "Universal Windows Platform development" workload, (2) "C++ Universal Windows Platform support for vNNN build tools (ARM64)", (3) "MSVC vNNN - VS NNNN C++ ARM build tools (Latest)", and (4) "MSVC vNNN - VS NNNN C++ ARM64 build tools (Latest)") in order to build a standalone player for UWP with X64_SSE2 

Unable to find a valid windows 10 SDK at 'C:\Program Files (x86)\Windows Kits\10\Lib\10.0.22621.0' 

stderr:“

I have all the correct packages from Visual Studio 2022 and this still doesn't work for me. Does anyone know what the issue is? Thanks!

Screenshot 2023-10-17 181909

Screenshot 2023-10-17 181828

HoloLens Development
HoloLens Development
HoloLens: A family of Microsoft self-contained, holographic devices that enable engagement with digital content and interaction with holograms in the surrounding environment.Development: The process of researching, productizing, and refining new or existing technologies.
396 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Matthew O'Leary 20 Reputation points
    2023-10-20T17:19:26.0466667+00:00

    Hi @Zuocheng Wang - MSFT , thanks for getting back to me! I figured out the issue because of your comment! I had to manually install the Windows 11 SDK from Microsoft's website. For whatever reason, the version I downloaded from Visual Studio was not being recognized by Unity. But after manually downloading it, I was able to build the .sln file. Thanks again for your help!

    1 person found this answer helpful.

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.