Description

If two projects are both built using the DebugGame solution configuration, the first project will fail to compile in DebugGame again due to Unresolved External errors.

It seems when DebugGame is compiled for the first project, the following is written to C:\Program Files (x86)\Epic Games\4.11\Engine\Intermediate\Build\Win64\UE4\Development\UELinkerFixups\PCH.UELinkerFixupsName.h.cpp:

#include "F:\Unreal Projects[ProjectName]\Intermediate\Build\Win64\UE4\Development\UELinkerFixupsName.h"

After compiling (DebugGame) the second project, this file is updated. The above include is replaced by the same include but for the second project instead of the first (...[SecondProjectName\Intermediate\...) When DebugGame is compiled for the first project again (for the second time) this file is not updated and leads to Unresolved External errors.

Steps to Reproduce
  1. Open UE4 Editor (2 new code projects)
  2. Set the Solution Configuration to DebugGame for both
  3. Build (Ctrl+Shift+B) project1 followed by project2
  4. Build project1 again

Result:
Project1 fails second compile

Expected:
Projects can be compiled in any configuration back and forth

Have Comments or More Details?

Head over to the existing Questions & Answers thread and let us know what's up.

0
Login to Vote

Fixed
Fix Commit2870380
Main Commit2873884
Release Commit2870380
CreatedFeb 8, 2016
ResolvedFeb 17, 2016
UpdatedMay 2, 2018
View Jira Issue