# Unable to execute the game through jenkins. with error: CreateSwapChainResult failed with error DXGI\_ERROR\_NOT\_CURRENTLY\_AVAILABLE

**URL:** <https://forums.unrealengine.com/t/unable-to-execute-the-game-through-jenkins-with-error-createswapchainresult-failed-with-error-dxgi-error-not-currently-available/1218663>\
**Category:** Programming & Scripting\
**Tags:** automationtool, unreal-engine, question\
**Created:** [July 4, 2023, 12:25am UTC](https://forums.unrealengine.com/t/unable-to-execute-the-game-through-jenkins-with-error-createswapchainresult-failed-with-error-dxgi-error-not-currently-available/1218663 "2023-07-04T00:25:09Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![k\_shat](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@k\_shat](https://forums.unrealengine.com/u/k_shat)\
**Post date:** [July 4, 2023, 12:25am UTC](https://forums.unrealengine.com/t/unable-to-execute-the-game-through-jenkins-with-error-createswapchainresult-failed-with-error-dxgi-error-not-currently-available/1218663/1 "2023-07-04T00:25:09Z")

</div>

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](https://forums.unrealengine.com/uploads/short-url/x793Nznp60glPbjtvaSFqYDmQfz.txt) (1.4 KB)

---

<div class="post-metadata">

**Author:** ![hahahalaughing](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@hahahalaughing](https://forums.unrealengine.com/u/hahahalaughing)\
**Post date:** [July 5, 2023, 7:14am UTC](https://forums.unrealengine.com/t/unable-to-execute-the-game-through-jenkins-with-error-createswapchainresult-failed-with-error-dxgi-error-not-currently-available/1218663/2 "2023-07-05T07:14:12Z")

</div>

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  
"
