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.
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
Head over to the existing Questions & Answers thread and let us know what's up.
0 |
Component | UE - Foundation - Cpp Tools - UnrealBuildTool |
---|---|
Affects Versions | 4.8.3 |
Created | Jul 31, 2015 |
---|---|
Resolved | Jun 14, 2017 |
Updated | Apr 27, 2018 |