Error MSB3073 when trying to "Manualy Compile" a upgraded Project

I wanted to upgrade my project from 5.2 to 5.4. The Problem is, i get an error, that the Project needs to be recompiled manualy. (Message is in German)

Das Projekt konnte nicht kompiliert werden. Möchtest du es in Visual Studio öffnen?

Running E:/Programms/Epic Games/UE_5.4/Engine/Build/BatchFiles/Build.bat Development Win64 -Project=“E:/Programms/Epic Games/UE Projects/GP_UE5 5.2 5.4/GP_UE5.uproject” -TargetType=Editor -Progress -NoEngineChanges -NoHotReloadFromIDE
Using bundled DotNet SDK version: 6.0.302
Running UnrealBuildTool: dotnet “…..\Engine\Binaries\DotNET\UnrealBuildTool\UnrealBuildTool.dll” Development Win64 -Project=“E:/Programms/Epic Games/UE Projects/GP_UE5 5.2 5.4/GP_UE5.uproject” -TargetType=Editor -Progress -NoEngineChanges -NoHotReloadFromIDE
Log file: C:\Users\maxha\AppData\Local\UnrealBuildTool\Log.txt
Using ‘git status’ to determine working set for adaptive non-unity build (E:\Programms\Epic Games\UE Projects\GP_UE5 5.2 5.4).
Creating makefile for GP_UE5Editor (no existing makefile)
@progress push 5%
Parsing headers for GP_UE5Editor
Running Internal UnrealHeaderTool “E:\Programms\Epic Games\UE Projects\GP_UE5 5.2 5.4\GP_UE5.uproject” “E:\Programms\Epic Games\UE Projects\GP_UE5 5.2 5.4\Intermediate\Build\Win64\GP_UE5Editor\Development\GP_UE5Editor.uhtmanifest” -WarningsAsErrors -installed
Total of 57 written
Reflection code generated for GP_UE5Editor in 1.0417817 seconds
@progress pop
Waiting for ‘git status’ command to complete
Building GP_UE5Editor…
Using Visual Studio 2022 14.38.33138 toolchain (D:\Programs\VisualStudio\version\VC\Tools\MSVC\14.38.33130) and Windows 10.0.22621.0 SDK (C:\Program Files (x86)\Windows Kits\10).
[Upgrade]
[Upgrade] Using backward-compatible build settings. The latest version of UE sets the following values by default, which may require code changes:
[Upgrade] bLegacyParentIncludePaths = false => Omits module parent folders from include paths to reduce compiler command line length. (Previously: true).
[Upgrade] CppStandard = CppStandardVersion.Default => Updates C++ Standard to C++20 (Previously: CppStandardVersion.Cpp17).
[Upgrade] WindowsPlatform.bStrictConformanceMode = true => Updates MSVC strict conformance mode to true (Previously: false).
[Upgrade] bValidateFormatStrings = true => Enables compile-time validation of strings+args passed to UE_LOG. (Previously: false).
[Upgrade] Suppress this message by setting ‘DefaultBuildSettings = BuildSettingsVersion.V5;’ in GP_UE5Editor.Target.cs, and explicitly overriding settings that differ from the new defaults.
[Upgrade]
[Upgrade]
[Upgrade] Using backward-compatible include order. The latest version of UE has changed the order of includes, which may require code changes. The current setting is:
[Upgrade] IncludeOrderVersion = EngineIncludeOrderVersion.Oldest
[Upgrade] Suppress this message by setting ‘IncludeOrderVersion = EngineIncludeOrderVersion.Latest;’ in GP_UE5Editor.Target.cs.
[Upgrade] Alternatively you can set this to ‘EngineIncludeOrderVersion.Latest’ to always use the latest include order. This will potentially cause compile errors when integrating new versions of the engine.
[Upgrade]
Determining max actions to execute in parallel (8 physical cores, 16 logical cores)
Executing up to 8 processes, one per physical core
Using Parallel executor to run 16 action(s)
------ Building 16 action(s) started ------
[1/16] Resource Default.rc2
[2/16] Resource Default.rc2
[3/16] Resource Default.rc2
[4/16] Compile [x64] SharedPCH.UnrealEd.Project.NoValFmtStr.ValApi.Cpp17.InclOrderOldest.cpp
[5/16] Compile [x64] GP_UE5.cpp
[6/16] Link [x64] UnrealEditor-GP_UE5.lib
Bibliothek “E:\Programms\Epic Games\UE Projects\GP_UE5 5.2 5.4\Intermediate\Build\Win64\x64\UnrealEditor\Development\GP_UE5\UnrealEditor-GP_UE5.lib” und Objekt “E:\Programms\Epic Games\UE Projects\GP_UE5 5.2 5.4\Intermediate\Build\Win64\x64\UnrealEditor\Development\GP_UE5\UnrealEditor-GP_UE5.exp” werden erstellt.
[7/16] Link [x64] UnrealEditor-GP_UE5.dll
Bibliothek “E:\Programms\Epic Games\UE Projects\GP_UE5 5.2 5.4\Intermediate\Build\Win64\x64\UnrealEditor\Development\GP_UE5\UnrealEditor-GP_UE5.sup.lib” und Objekt “E:\Programms\Epic Games\UE Projects\GP_UE5 5.2 5.4\Intermediate\Build\Win64\x64\UnrealEditor\Development\GP_UE5\UnrealEditor-GP_UE5.sup.exp” werden erstellt.
[8/16] Compile [x64] Module.AdvancedSessions.2.cpp
[9/16] Compile [x64] Module.AdvancedSessions.1.cpp
[10/16] Compile [x64] Module.AdvancedSteamSessions.cpp
E:\Programms\Epic Games\UE_5.4\Engine\Source\Runtime\Core\Public\Logging\LogCategory.h(35) : error C4702: Unerreichbarer Code
inlined at E:\Programms\Epic Games\UE Projects\GP_UE5 5.2 5.4\Plugins\AdvancedSteamSessions\Source\AdvancedSteamSessions\Private\AdvancedSteamWorkshopLibrary.cpp(25)
while compiling UAdvancedSteamWorkshopLibrary::GetNumSubscribedWorkshopItems
E:\Programms\Epic Games\UE_5.4\Engine\Source\Runtime\Core\Public\Logging\LogCategory.h(35) : error C4702: Unerreichbarer Code
inlined at E:\Programms\Epic Games\UE Projects\GP_UE5 5.2 5.4\Plugins\AdvancedSteamSessions\Source\AdvancedSteamSessions\Private\AdvancedSteamWorkshopLibrary.cpp(67)
while compiling UAdvancedSteamWorkshopLibrary::GetSubscribedWorkshopItems
[11/16] Compile [x64] Module.AdvancedSessions.3.cpp
[12/16] Link [x64] UnrealEditor-AdvancedSessions.lib
Bibliothek “E:\Programms\Epic Games\UE Projects\GP_UE5 5.2 5.4\Plugins\AdvancedSessions\Intermediate\Build\Win64\x64\UnrealEditor\Development\AdvancedSessions\UnrealEditor-AdvancedSessions.lib” und Objekt “E:\Programms\Epic Games\UE Projects\GP_UE5 5.2 5.4\Plugins\AdvancedSessions\Intermediate\Build\Win64\x64\UnrealEditor\Development\AdvancedSessions\UnrealEditor-AdvancedSessions.exp” werden erstellt.
[13/16] Link [x64] UnrealEditor-AdvancedSessions.dll
Bibliothek “E:\Programms\Epic Games\UE Projects\GP_UE5 5.2 5.4\Plugins\AdvancedSessions\Intermediate\Build\Win64\x64\UnrealEditor\Development\AdvancedSessions\UnrealEditor-AdvancedSessions.sup.lib” und Objekt “E:\Programms\Epic Games\UE Projects\GP_UE5 5.2 5.4\Plugins\AdvancedSessions\Intermediate\Build\Win64\x64\UnrealEditor\Development\AdvancedSessions\UnrealEditor-AdvancedSessions.sup.exp” werden erstellt.
Total time in Parallel executor: 36.36 seconds
Total execution time: 44.70 seconds

When I do this via vs22 i get following error message: (Also in German)

Schweregrad Code Beschreibung Projekt Datei Zeile Unterdrückungszustand Details
Fehler MSB3073 Der Befehl E:\Programms\Epic Games\UE_5.4\Engine\Build\BatchFiles\Build.bat GP_UE5Editor Win64 Development -Project=E:\Programms\Epic Games\UE Projects\GP_UE5 5.2 5.4\GP_UE5.uproject -WaitMutex -FromMsBuild -architecture=x64 wurde mit dem Code 6 beendet. GP_UE5 D:\Programs\VisualStudio\version\MSBuild\Microsoft\VC\v170\Microsoft.MakeFile.Targets 44

I already searched in the forums and tryed a couple of things.

*Checking the Antivirus (in my Case Kaspersky) if it is blocking something
*Checking, that on the 5.2 live coding is dissabled.
*Deleting Binarys and Intermediate Folders befor Upgrading.

Before I had some more issues, but most of them got solved by installing an missing SDK or a newer version of VS.

If somebody knows something more i can try, please let me know.

… Found it… :expressionless:

  1. Disabeling the Advanced Session Plugins
  2. Restart Engine
  3. Save Project
  4. Close Engine
  5. Upgrade Engine
    and now its starting with no problems. Just have to add the newer version of the Plugin back in.

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