I want to execute some automation test, so I’m looking at some test from Unreal code, and I find that Unreal use this line to start play in editor:
FEditorAutomationTestUtilities::RunPIE();
But when I use that, I got the following error:
1>Module.Concept.cpp.obj : error LNK2001: unresolved external symbol "public: virtual bool __cdecl FStartPIECommand::Update(void)" (?Update@FStartPIECommand@@UEAA_NXZ)
1>Module.Concept.cpp.obj : error LNK2001: unresolved external symbol "public: virtual bool __cdecl FEndPlayMapCommand::Update(void)" (?Update@FEndPlayMapCommand@@UEAA_NXZ)
1>C:\Users\\Documents\Unreal Projects\concept\Binaries\Win64\UE4Editor-Concept.dll : fatal error LNK1120: 2 unresolved externals
I’m missing something? Is there any other way to run PIE on automation tests? because its seems like I can only use that command inside the UE source code.
Thx for the help