It is not possible to debug a project in the Editor if the project's Editor target uses a unique target build environment. When attempting to debug, Visual Studio looks for UE4Editor.exe, when it should be looking for ProjectEditor.exe. If the executable is corrected in the project's Configuration Properties -> NMake -> General -> Output setting, Visual Studio will then indicate that several .dll files are missing when attempting to debug the project.
SETUP:
This issue only occurs in an Engine built from source code. BuildEnvironment cannot be changed for an Editor target in the binary Engine.
RESULT:
The project will fail to start debugging. The message shown by Visual Studio states that it cannot find UE4Editor.exe. The actual executable that it should be looking for is ProjectEditor.exe.
EXPECTED:
The project starts debugging in Visual Studio.
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-62017 in the post.
3 |
Component | UE - Foundation - Cpp Tools |
---|---|
Affects Versions | 4.19.2, 4.20, 4.21 |
Target Fix | 4.20.1 |
Fix Commit | 4229350 |
---|
Created | Jul 20, 2018 |
---|---|
Resolved | Jul 24, 2018 |
Updated | May 20, 2019 |