Running Automation Driver Tests causes crash

B2Dobbs
Mon, 12 Dec 2022 18:57:10 +0000
Programming & Scripting

Having issues with running the built in tests with the Automation Driver. I’ve not added any of my own tests to the project yet and just wanted to run the provided tests first. However, the tests never finish and the editor disappears without a crash report popup.

Going to look at the logs, I found the following exception:

[2022.12.12-18.36.34:904][616]LogWindows: Error: === Critical error: === [2022.12.12-18.36.34:904][616]LogWindows: Error: [2022.12.12-18.36.34:904][616]LogWindows: Error: Fatal error! [2022.12.12-18.36.34:904][616]LogWindows: Error: [2022.12.12-18.36.34:904][616]LogWindows: Error: Unhandled Exception: EXCEPTION_ACCESS_VIOLATION 0x0000052dcc589f80 [2022.12.12-18.36.34:904][616]LogWindows: Error: [2022.12.12-18.36.34:905][616]LogWindows: Error: [Callstack] 0x0000052dcc589f80 UnknownFunction [] [2022.12.12-18.36.34:905][616]LogWindows: Error: [Callstack] 0x00007ff9f64bdd77 UnrealEditor-AutomationDriver.dll!<lambda_6bb43787b08fde3f67b231324cc23e84>::operator()() [D:\build\++UE5\Sync\Engine\Source\Developer\AutomationDriver\Private\DriverSequence.cpp:988] [2022.12.12-18.36.34:905][616]LogWindows: Error: [Callstack] 0x00007ff9f64c92d7 UnrealEditor-AutomationDriver.dll!UE::Core::Private::Function::TFunctionRefCaller<<lambda_6bb43787b08fde3f67b231324cc23e84>,FStepResult __cdecl(FTimespan const &)>::Call() [D:\build\++UE5\Sync\Engine\Source\Runtime\Core\Public\Templates\Function.h:539] [2022.12.12-18.36.34:905][616]LogWindows: Error: [Callstack] 0x00007ff9f64c1a19 UnrealEditor-AutomationDriver.dll!UE::Core::Private::Function::TFunctionRefBase<UE::Core::Private::Function::TFunctionStorage<0>,FStepResult __cdecl(FTimespan const &)>::operator()() [D:\build\++UE5\Sync\Engine\Source\Runtime\Core\Public\Templates\Function.h:677] [2022.12.12-18.36.34:905][616]LogWindows: Error: [Callstack] 0x00007ff9f64d2bd2 UnrealEditor-AutomationDriver.dll!TBaseFunctorDelegateInstance<FStepResult __cdecl(FTimespan const &),FDefaultDelegateUserPolicy,TFunction<FStepResult __cdecl(FTimespan const &)> const >::Execute() [D:\build\++UE5\Sync\Engine\Source\Runtime\Core\Public\Delegates\DelegateInstancesImpl.h:830] [2022.12.12-18.36.34:905][616]LogWindows: Error: [Callstack] 0x00007ff9f64d398f UnrealEditor-AutomationDriver.dll!FStepExecutor::ExecuteStep() [D:\build\++UE5\Sync\Engine\Source\Developer\AutomationDriver\Private\StepExecutor.cpp:120] [2022.12.12-18.36.34:905][616]LogWindows: Error: [Callstack] 0x00007ff9f64d2dd8 UnrealEditor-AutomationDriver.dll!TBaseSPMethodDelegateInstance<0,FStepExecutor,1,bool __cdecl(float),FDefaultDelegateUserPolicy,int>::Execute() [D:\build\++UE5\Sync\Engine\Source\Runtime\Core\Public\Delegates\DelegateInstancesImpl.h:290] [2022.12.12-18.36.34:905][616]LogWindows: Error: [Callstack] 0x00007ffa453931e9 UnrealEditor-Core.dll!FTSTicker::Tick() [D:\build\++UE5\Sync\Engine\Source\Runtime\Core\Private\Containers\Ticker.cpp:110] [2022.12.12-18.36.34:905][616]LogWindows: Error: [Callstack] 0x00007ff7fdc2b267 UnrealEditor.exe!FEngineLoop::Tick() [D:\build\++UE5\Sync\Engine\Source\Runtime\Launch\Private\LaunchEngineLoop.cpp:5439] [2022.12.12-18.36.34:905][616]LogWindows: Error: [Callstack] 0x00007ff7fdc40d9c UnrealEditor.exe!GuardedMain() [D:\build\++UE5\Sync\Engine\Source\Runtime\Launch\Private\Launch.cpp:183] [2022.12.12-18.36.34:905][616]LogWindows: Error: [Callstack] 0x00007ff7fdc40e8a UnrealEditor.exe!GuardedMainWrapper() [D:\build\++UE5\Sync\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:147] [2022.12.12-18.36.34:905][616]LogWindows: Error: [Callstack] 0x00007ff7fdc43c4d UnrealEditor.exe!LaunchWindowsStartup() [D:\build\++UE5\Sync\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:283] [2022.12.12-18.36.34:905][616]LogWindows: Error: [Callstack] 0x00007ff7fdc55564 UnrealEditor.exe!WinMain() [D:\build\++UE5\Sync\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:330] [2022.12.12-18.36.34:905][616]LogWindows: Error: [Callstack] 0x00007ff7fdc58736 UnrealEditor.exe!__scrt_common_main_seh() [d:\a01\_work\6\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288] [2022.12.12-18.36.34:906][616]LogWindows: Error: [Callstack] 0x00007ffabbe574b4 KERNEL32.DLL!UnknownFunction [] [2022.12.12-18.36.34:906][616]LogWindows: Error: [Callstack] 0x00007ffabd2426a1 ntdll.dll!UnknownFunction [] [2022.12.12-18.36.34:906][616]LogWindows: Error: [2022.12.12-18.36.34:916][616]LogExit: Executing StaticShutdownAfterError

I’ve run into this issue before with one of my plugins because I was referencing an actor that no longer existed but this is coming straight from Engine code. I’m not sure if this means that any tests I write with the Automation Driver will cause a crash as well.

I’m using UE 5.0.3 and have the following plugins enabled for testing:

Here is the Automation Driver documentation.

1 post - 1 participant