現象
Windowsビルド時にIL2CPPでビルドしようとすると以下のエラーが発生しました。
Internal build system error. BuildProgram exited with code 1.
error: Could not set up a toolchain for Architecture x64. Make sure you have the right build tools installed for il2cpp builds. Details:
IL2CPP C++ code builder is unable to build C++ code. In order to build C++ code for Windows Desktop, you must have one of these installed:
解消方法
VisualStudioがインストールされていないのが原因の様です。
UnityHubから利用しているUnityバージョンAddPlatform
からMicrosoft Visual Studio Community 【バージョン】
をインストールするとエラーが解消されます。