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 existingAnswerHub thread and let us know what's up.