UE5 C++

I downloaded UE5.3.2 and UE5.0.3 versions, and when I created a C++project in UE5.3.2, the project was able to start normally. However, when I created a C++project in UE5.0.3, I was prompted that it could not be compiled and asked if I wanted to open it in visual. Below is the error message. May I ask why this is.
/////////////////////////////
Running D:/UE/UE_5.0/Engine/Binaries/DotNET/UnrealBuildTool/UnrealBuildTool.exe Development Win64 -Project=“D:/UE/Unreal Projects/MyProject2_ue503/MyProject2_ue503.uproject” -TargetType=Editor -Progress -NoEngineChanges -NoHotReloadFromIDE
Log file: C:\Users\YSY\AppData\Local\UnrealBuildTool\Log.txt
Creating makefile for MyProject2_ue503Editor (no existing makefile)
@progress push 5%
Parsing headers for MyProject2_ue503Editor
Running UnrealHeaderTool “D:\UE\Unreal Projects\MyProject2_ue503\MyProject2_ue503.uproject” “D:\UE\Unreal Projects\MyProject2_ue503\Intermediate\Build\Win64\MyProject2_ue503Editor\Development\MyProject2_ue503Editor.uhtmanifest” -LogCmds=“loginit warning, logexit warning, logdatabase error” -Unattended -WarningsAsErrors -abslog=“C:\Users\YSY\AppData\Local\UnrealBuildTool\Log_UHT.txt” -installed
Reflection code generated for MyProject2_ue503Editor in 1.1622198 seconds
@progress pop
Building MyProject2_ue503Editor…
Using Visual Studio 2022 14.39.33523 toolchain (C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.39.33519) and Windows 10.0.22621.0 SDK (C:\Program Files (x86)\Windows Kits\10).
[Adaptive Build] Excluded from MyProject2_ue503 unity file: MyProject2_ue503.cpp, MyProject2_ue503GameModeBase.cpp
Determining max actions to execute in parallel (10 physical cores, 16 logical cores)
Executing up to 10 processes, one per physical core
Building 9 actions with 9 processes…
[1/9] Resource Default.rc2
[2/9] Compile SharedPCH.Engine.ShadowErrors.cpp

Hi @zjy53,

I think the problem is related to your environment setup.

After installing Unreal Engine, did you install the additional C++ tools required to build the project?

I’m pretty sure I have installed everything I need, and if I hadn’t done it, the C++ project created with UE 5.3.2 wouldn’t have compiled. But the fact is that C++ projects created with UE5.3.2 compile, and creating C++ projects with UE5.0.3 tells me that they can’t. I even have .net core 3.1 and .net 4.6.2 target packages installed separately for UE5.0.3.By the way, I use visual studio 2022

Hi @zjy53,

Could you provide a more detailed log? The output shared so far appears to be the normal build initiation process and doesn’t indicate any build errors.

Are there specific features in UE 5.0.3 that you require, which are not available in UE 5.3.2, or are you trying to build an older project? If the latter, perhaps upgrading the project to UE 5.3.2 could resolve the issue.

Hi! UE 5.0 doesn’t support VS 2022. You need to have 2022 and 2019 if you want to use UE 5.3 and 5.0.
Reference: Setting Up Visual Studio Development Environment for C++ Projects in Unreal Engine

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.