- I am setting up Jenkins to run tests on a Windows machine.
- To run the tests, I am using the following command line:
"%UNREAL_ENGINE_422%/Engine/Binaries/Win64/UE4Editor.exe" ^ "%WORKSPACE%/%PROJECT_NAME%.uproject" ^ -unattended -NullRHI ^ -ExecCmds="Automation Runtests %TESTS%" ^ -testexit="Automation Test Queue Empty" ^ -ReportOutputPath="%WORKSPACE%/Saved/TestReport" ^ -log=RunTests.log
-
It crashes with the following:
[2019.08.15-14.12.57:193][ 0]LogWindows: Error: === Critical error: ===
[2019.08.15-14.12.57:193][ 0]LogWindows: Error:
[2019.08.15-14.12.57:193][ 0]LogWindows: Error: Fatal error: [File:D:\Build++UE4\Sync\Engine\Source\Runtime\ApplicationCore\Private\GenericPlatform\GenericWindow.cpp] [Line: 106]
[2019.08.15-14.12.57:193][ 0]LogWindows: Error: GetRestoredDimensions is not expected to be called on this platform
[2019.08.15-14.12.57:193][ 0]LogWindows: Error:
[2019.08.15-14.12.57:193][ 0]LogWindows: Error:
[2019.08.15-14.12.57:193][ 0]LogWindows: Error: [Callstack] 0x00007ffd9836a839 KERNELBASE.dll!UnknownFunction []
[2019.08.15-14.12.57:193][ 0]LogWindows: Error: [Callstack] 0x00007ffd344b1f37 UE4Editor-Core.dll!UnknownFunction []
[2019.08.15-14.12.57:193][ 0]LogWindows: Error: [Callstack] 0x00007ffd344b46e7 UE4Editor-Core.dll!UnknownFunction []
[2019.08.15-14.12.57:193][ 0]LogWindows: Error: [Callstack] 0x00007ffd342c7d1a UE4Editor-Core.dll!UnknownFunction []
[2019.08.15-14.12.57:193][ 0]LogWindows: Error: [Callstack] 0x00007ffd3424fe33 UE4Editor-Core.dll!UnknownFunction []
…
-
The engine is installed and running properly when I launch it manually.
-
The machine is Windows 10 with DX12.
-
I have also tried it without -NullRHI, but then it crashes in a different place (something to do with DX swap chains)
Any ideas how to fix this/work around it?