IMPLEMENT_COMPLEX_AUTOMATION_TEST(..., ..., EAutomationTestFlags::EditorContext | EAutomationTestFlags::EngineFilter) to create an automation test. In this test I want to enumerate all maps in the game, and each CameraActor within those maps. My goal is to take a bunch of screen captures.
My problem is that both
GEngine->GetWorldContextFromPIEInstance(0)->World() return null. My guess is that maybe this kind of test doesn't make sense for an Editor test, and maybe I need to write/run a Game test. Can anybody confirm, and if so point me to a sample Game test.
Oct 28 '18 at 11:28 PM
in C++ Programming