This is by design as hot-reload only effects classes derived from UCLASS types.
After making a change to an automation test function and triggering a hot reload, the changes are not reflected the next time the text is ran.
#include "AutomationTest.h" IMPLEMENT_SIMPLE_AUTOMATION_TEST(FHotReloadExampleTest, "Test.MyCategoriesHere", EAutomationTestFlags::ATF_Editor) bool FHotReloadExampleTest::RunTest(const FString& Parameters) { UE_LOG(LogTemp, Warning, TEXT("Before Hot-Reload")); return true; }
Result:
The text printed out after the hot reload has not been updated.
Expected:
Hot reload updates minor code changes without having to restart the editor.
Head over to the existing Questions & Answers thread and let us know what's up.
49 |
Component | UE - Automation Test |
---|---|
Affects Versions | 4.10 |
Created | Jan 13, 2016 |
---|---|
Resolved | Aug 18, 2021 |
Updated | Aug 18, 2021 |