Unable to execute the game through jenkins. with error: CreateSwapChainResult failed with error DXGI_ERROR_NOT_CURRENTLY_AVAILABLE

Hello
I m trying to automate our game testing in jenkins. I am able to build and cook the game successfully. However, when I try to exexcute the windows game through groovy script in jenkins with the following batch command
"C:\Program Files (x86)\Windows Kits\10\Debuggers\x64\cdb.exe" -gGo Saved\StagedBuilds\Windows\UnrealGameDemo.exe
I am getting the error posted.
CreateSwapChainResult failed with error DXGI_ERROR_NOT_CURRENTLY_AVAILABLE

Executing the game, command on the same machine through command prompt is working fine. Not sure why executing the game through groovy script on the node throws the directx error.

unrealjenkinserror.txt (1.4 KB)

I had the same problem in Jenkins automated testing. I add the “-NullRHI” to command line params which resovles DXGI_ERROR_NOT_CURRENTLY_AVAILABLE error temporarily.

you can try this : "“C:\Program Files (x86)\Windows Kits\10\Debuggers\x64\cdb.exe” -gGo -NullRHI Saved\StagedBuilds\Windows\UnrealGameDemo.exe
"