I cannot build my 3D game to Standalone Windows

Whenever I try to build a 3D game to Standalone Windows it shows up with these messages.

Exception: C:\Program Files\Unity\Hub\Editor\2019.4.16f1\Editor\Data\il2cpp/build/deploy/net471/il2cpp.exe did not run properly!

Build completed with a result of ‘Failed’ in 23 seconds (22594 ms)

UnityEditor.BuildPlayerWindow+BuildMethodException: 2 errors

I am using Unity 2019.4.16f1

Can you post your editor log?

Where is that?

C:\Users<username>\AppData\Local\Unity\Editor\Editor.log

I can’t seem to find that path on my system

You can also open it via the editor via the button on the upper-right corner of the console window.

Thanks. So should I just post the entire editor log or just part of it?

All of it. Attach it as a file.

Ok this is the editor log

6752281–778852–EditorCopy.txt (45.3 KB)

It doesn’t look like the log contains any failures for building the player. Did you make the build fail before grabbing it?

I am getting the same issue in 2019.4.18f1. I am uploading the editor log from right after I attempted a build.

6772472–782987–Editor.txt (553 KB)

Looks like you’re missing Windows 10 SDK:

Unhandled Exception: System.InvalidOperationException: 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 2015 with C++ compilers and Windows 10 SDK (it cannot build C++ code because it is not installed or missing C++ workload component)
        Visual Studio 2015 installation is found by looking at "SOFTWARE\Microsoft\VisualStudio\14.0_Config\InstallDir" in the registry
        Windows 10 SDK is found by looking at "SOFTWARE\Wow6432Node\Microsoft\Microsoft SDKs\Windows\v10.0\InstallationFolder" in the registry

        Visual Studio 2017 (or newer) with C++ compilers and Windows 10 SDK (it cannot build C++ code because Windows 10 SDK is not installed. You can install from here: https://developer.microsoft.com/en-us/windows/downloads/windows-10-sdk/)
        Visual Studio 2017 (or newer) installation is found using Microsoft.VisualStudio.Setup.Configuration COM APIs
        Windows 10 SDK is found by looking at "SOFTWARE\Wow6432Node\Microsoft\Microsoft SDKs\Windows\v10.0\InstallationFolder" in the registry

You can install from here: https://developer.microsoft.com/en-us/windows/downloads/windows-10-sdk/

It worked thank you.

It worked for me as well. Thank you.