# Crash: There is no active graphics context on this command list. There may be a missing call to SwitchPipeline()

**URL:** <https://forums.unrealengine.com/t/crash-there-is-no-active-graphics-context-on-this-command-list-there-may-be-a-missing-call-to-switchpipeline/1920658>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine, question\
**Created:** [June 29, 2024, 12:48pm UTC](https://forums.unrealengine.com/t/crash-there-is-no-active-graphics-context-on-this-command-list-there-may-be-a-missing-call-to-switchpipeline/1920658 "2024-06-29T12:48:46Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![abacigil](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@abacigil](https://forums.unrealengine.com/u/abacigil)\
**Post date:** [June 29, 2024, 12:48pm UTC](https://forums.unrealengine.com/t/crash-there-is-no-active-graphics-context-on-this-command-list-there-may-be-a-missing-call-to-switchpipeline/1920658/1 "2024-06-29T12:48:46Z")

</div>

Hi,

I use Unreal 5.2.1 (Source) and package my project. It’s running in the editor with no error. It also works when I get development build. Whenever I set the configuration to shipping, i receive this error in the beginning and it crashes.

My pc configuration;  
|—|—|  
|Processor|12th Gen Intel(R) Core™ i9-12900K 3.20 GHz|  
|Installed RAM|64.0 GB (63.8 GB usable)|  
Geforce 4090

```auto
[2024.06.28-19.56.59:292][0]LogD3D12RHI: Display: Not using pipeline state disk cache per r.D3D12.PSO.DiskCache=0
[2024.06.28-19.56.59:292][0]LogD3D12RHI: Display: Not using driver-optimized pipeline state disk cache per r.D3D12.PSO.DriverOptimizedDiskCache=0
[2024.06.28-19.56.59:296][0]LogRHI: Texture pool is 14725 MB (70% of 21036 MB)
[2024.06.28-19.56.59:296][0]LogD3D12RHI: Async texture creation enabled
[2024.06.28-19.56.59:296][0]LogD3D12RHI: RHI has support for 64 bit atomics
[2024.06.28-19.56.59:316][0]LogWindows: Error: appError called: Assertion failed: GraphicsContext [File:J:\Unreal Engine\SourceEngine\UnrealEngine\Engine\Source\Runtime\RHI\Public\RHICommandList.h] [Line: 755] 
There is no active graphics context on this command list. There may be a missing call to SwitchPipeline().

```

Is there anyone experienced a similar issue like this?

---

<div class="post-metadata">

**Author:** ![3dRaven](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/3draven/32/906552_2.png) [@3dRaven](https://forums.unrealengine.com/u/3dRaven)\
**Post date:** [June 29, 2024, 6:51pm UTC](https://forums.unrealengine.com/t/crash-there-is-no-active-graphics-context-on-this-command-list-there-may-be-a-missing-call-to-switchpipeline/1920658/2 "2024-06-29T18:51:31Z")

</div>

This might help

> [@Can't start packaged project on 5.1 (GraphicsContext error)](https://forums.unrealengine.com/t/cant-start-packaged-project-on-5-1-graphicscontext-error/761533/6):
>
> I found out the issue. The problem is with this flag in Target.cs if (Configuration == UnrealTargetConfiguration.Shipping) { bUseChecksInShipping = true; } I tried to create a simple ThirdPerson project, add a C++ class to get the Build and Target files. Add bUseChecksInShipping = true; and build it in shipping mode, it’s crashing with the same error as above: LogWindows: Error: appError called: Assertion failed: GraphicsContext [File:G:\5.1.1\Engine\Source\Runtime\RHI\…
