Download

Even stuck at startup Unreal c++ new project make.

Install newest Unreal version, my env is Win10, 64 bit, nvidia 1060, driver 419.35(newest).

Launch Unreal engine icon, new project → c++ → 3rd person → set name (test1) → make project button…

-> error says "Project can’t be compiled, Will you open at visual studio? "

and msgs,

프로젝트를 컴파일할 수 없었습니다. Visual Studio 에서 여시겠습니까?

Running I:/Unreal Engine/Epic Games/UE_4.21/Engine/Binaries/DotNET/UnrealBuildTool.exe Development Win64 -Project=“F:/Unreal-Projects/test4/test4.uproject” -TargetType=Editor -Progress -NoHotReloadFromIDE
Performing full C++ include scan (building a new target)
Creating makefile for test4Editor (no existing makefile)
Using Visual Studio 2017 14.14.26428 toolchain (C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.14.26428) and Windows 10.0.16299.0 SDK (C:\Program Files (x86)\Windows Kits\10).
@progress push 5%
Parsing headers for test4Editor
Running UnrealHeaderTool “F:\Unreal-Projects est4 est4.uproject” “F:\Unreal-Projects est4\Intermediate\Build\Win64 est4Editor\Development est4Editor.uhtmanifest” -LogCmds=“loginit warning, logexit warning, logdatabase error” -Unattended -WarningsAsErrors -installed
Reflection code generated for test4Editor in 10.0046925 seconds
@progress pop
Building 10 actions with 8 processes…
@progress ‘Compiling C++ source code…’ 0%
@progress ‘Compiling C++ source code…’ 10%
[1/10] PCLaunch.rc
@progress ‘Compiling C++ source code…’ 20%
[2/10] SharedPCH.Engine.cpp
i:\unreal engine\epic games\ue_4.21\engine\source\runtime\core\public\Windows/WindowsPlatformCompilerSetup.h(22): error C2338: Visual Studio 2017 versions 15.7 and 15.8 are known to have code generation bugs that affect UE4. Please update to version 15.9.
ERROR: UBT ERROR: Failed to produce item: F:\Unreal-Projects est4\Binaries\Win64\UE4Editor-test4.dll
(see …/Programs/UnrealBuildTool/Log.txt for full exception trace)
Total build time: 39.53 seconds (Parallel executor: 0.00 seconds)

-> then click “open at visual studio”

→ then vs launch and running… many msgs at down below line, and after some while, it just shows nothing. No engine editor started, vs is still there is nothing works.

So what now?

The log says:


error C2338: Visual Studio 2017 versions 15.7 and 15.8 are known to have code generation bugs that affect UE4. Please update to version 15.9.

So simply update your Visual Studio 2017 :wink:

Thanks, but already I installed VS 2019. UE4 doesn’t support VS 2019 yet?

VS2019 support got added in 4.22 which is still in preview.

I’m receiving errors every time I try to create a new project using C++ in unreal. I cannot figure out why this is happening, I feel like I’ve troubleshot this to death. Visual studio seems to work just fine by itself.

The project could not be compiled. Would you like to open it in Visual Studio 2017?

Running C:/Program Files/Epic/UE_4.23/Engine/Binaries/DotNET/UnrealBuildTool.exe Development Win64 -Project=“C:/Prog/MyProject21/MyProject21.uproject” -TargetType=Editor -Progress -NoHotReloadFromIDE
Creating makefile for MyProject21Editor (no existing makefile)
@progress push 5%
Parsing headers for MyProject21Editor
Running UnrealHeaderTool “C:\Prog\MyProject21\MyProject21.uproject” “C:\Prog\MyProject21\Intermediate\Build\Win64\MyProject21Editor\Development\MyProject21Editor.uhtmanifest” -LogCmds=“loginit warning, logexit warning, logdatabase error” -Unattended -WarningsAsErrors -installed
Reflection code generated for MyProject21Editor in 5.15848 seconds
@progress pop
ERROR: Unhandled exception: System.InvalidOperationException: This implementation is not part of the Windows Platform FIPS validated cryptographic algorithms.
at System.Security.Cryptography.MD5CryptoServiceProvider…ctor()
at UnrealBuildTool.ActionHistory.ComputeHash(String Text) in D:\Build++UE4\Sync\Engine\Saved\CsTools\Engine\Source\Programs\UnrealBuildTool\System\ActionHistory.cs:line 131
at UnrealBuildTool.ActionHistory.UpdateProducingCommandLine(FileItem File, String CommandLine) in D:\Build++UE4\Sync\Engine\Saved\CsTools\Engine\Source\Programs\UnrealBuildTool\System\ActionHistory.cs:line 160
at UnrealBuildTool.ActionGraph.IsActionOutdated(Action RootAction, Dictionary2 OutdatedActionDictionary, ActionHistory ActionHistory, CppDependencyCache CppDependencies, Boolean bIgnoreOutdatedImportLibraries) in D:\Build\++UE4\Sync\Engine\Saved\CsTools\Engine\Source\Programs\UnrealBuildTool\System\ActionGraph.cs:line 391 at UnrealBuildTool.ActionGraph.<>c__DisplayClass11_0.<GatherAllOutdatedActions>b__1(Action Action) in D:\Build\++UE4\Sync\Engine\Saved\CsTools\Engine\Source\Programs\UnrealBuildTool\System\ActionGraph.cs:line 576 at System.Threading.Tasks.Parallel.<>c__DisplayClass17_01.<ForWorker>b__1()
at System.Threading.Tasks.Task.InnerInvokeWithArg(Task childTask)
at System.Threading.Tasks.Task.<>c__DisplayClass176_0.<ExecuteSelfReplicating>b__0(Object <p0>)

Did you run: GenerateProjectFiles.bat -2019

When I build the source code of engine in today morning, I met this problem and I failed.: https://developercommunity.visualstu…ation-bug.html And, after that, I updated VS2019, then problem was solved.

What I said is not same as yours, but sometimes there are good bypasses. Why don’t you try with other version of engine, or try with source code? It will takes time, but there is possibility to get more good information, or to solve problem.

And, How was your internet connectivity? Sometimes, it makes problem.