egametang 打包报错:
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:
* Visual Studio 2022 or newer with C++ compilers and Windows 10 (or newer) SDK (recommended)
* Visual Studio 2019 with C++ compilers and Windows 10 (or newer) SDK
* Visual Studio 2017 with C++ compilers and Windows 10 (or newer) SDK
* Visual Studio 2015 with C++ compilers and Windows 10 (or newer) SDK
Visual Studio 2017 (or newer) is detected using `vswhere.exe` as well as VSCOMNTOOLS environment variables.
Visual Studio 2015 is detected by looking at “SOFTWARE\Microsoft\VisualStudio\14.0_Config\InstallDir” in the registry as well as VSCOMNTOOLS environment variables.
Windows 10 (or newer) SDK is detected by looking at “SOFTWARE\Wow6432Node\Microsoft\Microsoft SDKs\Windows\v10.0\InstallationFolder” in the registry.
Windows 10 (or newer) SDK is not installed. You can install from here: https://developer.microsoft.com/en-us/windows/downloads/windows-10-sdk/
Unity.IL2CPP.Bee.BuildLogic.ToolchainNotFoundException: 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:
* Visual Studio 2022 or newer with C++ compilers and Windows 10 (or newer) SDK (recommended)
* Visual Studio 2019 with C++ compilers and Windows 10 (or newer) SDK
* Visual Studio 2017 with C++ compilers and Windows 10 (or newer) SDK
* Visual Studio 2015 with C++ compilers and Windows 10 (or newer) SDK
Visual Studio 2017 (or newer) is detected using `vswhere.exe` as well as VSCOMNTOOLS environment variables.
Visual Studio 2015 is detected by looking at “SOFTWARE\Microsoft\VisualStudio\14.0_Config\InstallDir” in the registry as well as VSCOMNTOOLS environment variables.
Windows 10 (or newer) SDK is detected by looking at “SOFTWARE\Wow6432Node\Microsoft\Microsoft SDKs\Windows\v10.0\InstallationFolder” in the registry.
Windows 10 (or newer) SDK is not installed. You can install from here: https://developer.microsoft.com/en-us/windows/downloads/windows-10-sdk/
at Unity.IL2CPP.Bee.BuildLogic.WindowsDesktop.WindowsDesktopBuildLogic.UserAvailableToolchainFor(Architecture architecture, NPath toolChainPath, NPath sysRootPath)
at PlayerBuildProgramLibrary.PlayerBuildProgramBase.GetIl2CppToolChain(PlatformBuildLogic platform, Architecture architecture, NPath toolChainPath, NPath sysrootPath)
at PlayerBuildProgramLibrary.PlayerBuildProgramBase.SetupIl2CppBuild()
at PlayerBuildProgramLibrary.PlayerBuildProgramBase.<SetupPlayerBuild>b__94_0()
at Bee.Core.TinyProfiler2Base.Section[T](String label, Func`1 func, Dictionary`2 metadata)
at PlayerBuildProgramLibrary.PlayerBuildProgramBase.SetupPlayerBuild()
at WinPlayerBuildProgram.WinPlayerBuildProgram.SetupPlayerBuild()
at PlayerBuildProgramLibrary.PlayerBuildProgramBase.RunBuildProgram()
at PlayerBuildProgramTypeWrapper.Run(String[] args)
at Program.Main(String[] args)
UnityEditor.BuildPipeline:BuildPlayer (string[],string,UnityEditor.BuildTarget,UnityEditor.BuildOptions)
ET.BuildHelper:Build (ET.PlatformType,UnityEditor.BuildAssetBundleOptions,UnityEditor.BuildOptions,bool) (at Assets/Scripts/Editor/BuildEditor/BuildHelper.cs:140)
ET.BuildEditor:OnGUI () (at Assets/Scripts/Editor/BuildEditor/BuildEditor.cs:111)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)