Unity PC (Windows) Build failing

I am able to build other projects correctly, so this is not a problem with my Visual Studio Installation as one of the errors suggest

I was able to build this project today morning

I have tried:

  1. Clicking on Assets => Re import all
  2. Restarting unity
  3. Building to a completely different location

I also saw someone who was able to fix his problem with deleting the plugins folder, but i don’t have a folder called plugins in my project

Here are the error messages

  1. Waring

Unable to find player assembly: C:\Users\PC\CODE\ProjectCorruption\Temp\StagingArea\Data\Managed\UnityEngine.TestRunner.dll
UnityEngine.Debug:LogWarning(Object)
Unity.Burst.Editor.BurstAotCompiler:OnPostBuildPlayerScriptDLLsImpl(BuildReport) (at Library/PackageCache/com.unity.burst@1.1.1/Editor/BurstAotCompiler.cs:166)
Unity.Burst.Editor.BurstAotCompiler:OnPostBuildPlayerScriptDLLs(BuildReport) (at Library/PackageCache/com.unity.burst@1.1.1/Editor/BurstAotCompiler.cs:46)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)

  1. ErrorBuildFailedException: Burst compiler (1.1.1) failed running

stdout:
Burst requires Visual Studio (installable via Add Component in the Unity Installer) or the C++ build tools for Visual Studio, along with the Windows 10 SDK in order to build a standalone player for Windows with X86_SSE4
Unable to determine tools version of MSVC Linker, please ensure you have visual studio installed correctly!
stderr:

Unity.Burst.Editor.BurstAotCompiler+BclRunner.RunProgram (UnityEditor.Utils.Program p, System.String exe, System.String args, System.String workingDirectory, UnityEditor.Scripting.Compilers.CompilerOutputParserBase parser, UnityEditor.Build.Reporting.BuildReport report) (at Library/PackageCache/com.unity.burst@1.1.1/Editor/BurstAotCompiler.cs:663)
Unity.Burst.Editor.BurstAotCompiler+BclRunner.RunManagedProgram (System.String exe, System.String args, System.String workingDirectory, UnityEditor.Scripting.Compilers.CompilerOutputParserBase parser, UnityEditor.Build.Reporting.BuildReport report) (at Library/PackageCache/com.unity.burst@1.1.1/Editor/BurstAotCompiler.cs:601)
Unity.Burst.Editor.BurstAotCompiler+BclRunner.RunManagedProgram (System.String exe, System.String args, UnityEditor.Scripting.Compilers.CompilerOutputParserBase parser, UnityEditor.Build.Reporting.BuildReport report) (at Library/PackageCache/com.unity.burst@1.1.1/Editor/BurstAotCompiler.cs:575)
Unity.Burst.Editor.BurstAotCompiler.OnPostBuildPlayerScriptDLLsImpl (UnityEditor.Build.Reporting.BuildReport report) (at Library/PackageCache/com.unity.burst@1.1.1/Editor/BurstAotCompiler.cs:290)
Unity.Burst.Editor.BurstAotCompiler.OnPostBuildPlayerScriptDLLs (UnityEditor.Build.Reporting.BuildReport report) (at Library/PackageCache/com.unity.burst@1.1.1/Editor/BurstAotCompiler.cs:46)
UnityEditor.Build.BuildPipelineInterfaces.OnPostBuildPlayerScriptDLLs (UnityEditor.Build.Reporting.BuildReport report) (at <8004fcc221b54f98ba547350ea71d812>:0)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)

  1. Error Error building Player: BuildFailedException: Burst compiler (1.1.1) failed running

stdout:
Burst requires Visual Studio (installable via Add Component in the Unity Installer) or the C++ build tools for Visual Studio, along with the Windows 10 SDK in order to build a standalone player for Windows with X86_SSE4
Unable to determine tools version of MSVC Linker, please ensure you have visual studio installed correctly!
stderr:

  1. Error d3d12: generating mipmaps for array textures is not yet supported.

  2. Error Build completed with a result of ‘Failed’ in 17 seconds (17368 ms)
    UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)

  3. Error UnityEditor.BuildPlayerWindow+BuildMethodException: 4 errors
    at UnityEditor.BuildPlayerWindow+DefaultBuildMethods.BuildPlayer (UnityEditor.BuildPlayerOptions options) [0x002bb] in <8004fcc221b54f98ba547350ea71d812>:0
    at UnityEditor.BuildPlayerWindow.CallBuildMethods (System.Boolean askForBuildLocation, UnityEditor.BuildOptions defaultBuildOptions) [0x00080] in <8004fcc221b54f98ba547350ea71d812>:0
    UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)

HDRP Unity version 2019.4.10f1
Building a PC (Windows) build from a Windows 10 1909 (My PC)
Thanks in advance

Hi, what version of unity are you using?
I’m using 2020.2.1f1 and this is 177331-screenshot-2021-03-10-200509.pngthe setting:

The problem is burst in universal windows platform, when you build into windows(not stand alone but universal windows platform) you can not use burst, disable it, maybe you can try it.


That was i did, maybe unity team can not or not yet implementing this tools(idk what to say about burst, it’s tool or not), just disable it to build into Universal windows platform.