Build a simple project of unity "hello world", Unity says me:
Selected Visual studio is missing required components and may be not be able to build generate project
¿Any idea why get this message?
Build a simple project of unity "hello world", Unity says me:
Selected Visual studio is missing required components and may be not be able to build generate project
¿Any idea why get this message?
Give this a try:
Hope this helps!
I had the same problem with the new version of Visual Studio because the Universal Windows Platform tools no longer exist.
Microsoft’s shift from UWP to the Windows App SDK, which offers broader compatibility, better developer adoption, cross-platform support, and future-proofing, has introduced challenges for exporting Unity projects to UWP.
I had to use an older version of the Visual Studio Installer, and version 17.8 worked for me with Unity 2022.3.33 Make sure to install Desktop Development with C++ and Universal Windows Platform.
Make sure you have installed the Windows SDK and manually selected the version in the build settings and prevent using the latest installed version.
Resolving Common Windows SDK Version Errors in Unity Builds
I encountered this error after building and discovered that setting the Windows SDK version manually resolved the issue.
Library\Bee\artifacts\UWPPlayerBuildProgram\AsyncPluginsFromLinker failed with output:
UnityEditor.Build.BuildFailedException: Burst compiler (1.8.15) failed running
stdout:
Starting 1 library requests
Info: LINK : fatal error LNK1181: cannot open input file 'ucrt.lib'
Error: Burst internal compiler error: Burst.Compiler.IL.Aot.AotLinkerException: Non 0 exit code | The native link step failed. Check previous exception in the log - linker command line : "H:\Program Files\VS 1.8\VC\Tools\MSVC\14.38.33130\bin\Hostx64\arm\link.exe "@C:\\Users\\MyPC\\AppData\\Local\\Temp\\tmpE483.tmp""
LINK : fatal error LNK1181: cannot open input file 'ucrt.lib'
© 2022 - 2024 — McMap. All rights reserved.