Description

While the editor is compiling a hot reload, if project code is changed and the compile is canceled, code changes are not reflected upon next editor compile.

Steps to Reproduce

1. Open UE4Editor (any project)
2. Add code to project based on actor
3. Add #include "Engine.h" to header file
4. Add The following to the BeginPlay() function

if(GEngine)
GEngine->AddOnScreenDebugMessage(-1, 5.f, FColor::Yellow, TEXT("Default Text"));

5. Compile the code
6. Add instance of the class to the level and PIE
7. Press compile button in the editor
8. While editor is compiling, change "Default Text" to "Changed Text"
9. Cancel the compile in the editor
10. Compile in the editor again and PIE

Result:
The change to the code is not reflected on the second PIE session

Have Comments or More Details?

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

0
Login to Vote

Cannot Reproduce
CreatedJul 31, 2015
ResolvedJun 14, 2017
UpdatedApr 27, 2018