Description

The bUseIncrementalLinking option does not appear to actually perform an incremental build when building for the Debug or DebugGame configurations. When a build is performed with bUseIncrementalLinking set to true for these configurations, a message is displayed in the output that states that a full link was performed.

Steps to Reproduce
  1. Create a new code project using the Third Person template.
  2. Open the project's Target.cs file and add the following lines:
    bUseIncrementalLinking = true;
    bDisableDebugInfoForGeneratedCode = false;
    bUsePCHFiles = false;
    
  3. Open the project's Character.cpp file and comment out the lines in TurnAtRate() and LookUpAtRate() that call GetWorld() (one line in each function).
  4. Change the Solution Configuration to DebugGame.
  5. Build the project in Visual Studio.
  6. Make a change to the code in the project's Character.cpp file (eg. Declare and set a local variable).
  7. Build the project in Visual Studio.

RESULT:
The project builds successfully, but the output will include a message similar to the following: LINK : D:\Unreal Projects\Current Issues\TESTLink\Binaries\Win64\TESTLink-Win64-Debug.exe not found or not built by the last incremental link; performing full link

EXPECTED:
The project builds successfully and performs an incremental link if necessary.

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-61394 in the post.

0
Login to Vote

Fixed
ComponentUE - Foundation - Cpp Tools
Affects Versions4.18.34.19.24.21
Target Fix4.21
Fix Commit4162622
CreatedJul 2, 2018
ResolvedJul 2, 2018
UpdatedAug 13, 2018
View Jira Issue