# Can't start packaged project on 5.1 (GraphicsContext error)

**URL:** <https://forums.unrealengine.com/t/cant-start-packaged-project-on-5-1-graphicscontext-error/761533>\
**Category:** Platform & Builds\
**Tags:** unreal-engine, crash, bug-report, question\
**Created:** [February 1, 2023, 5:45pm UTC](https://forums.unrealengine.com/t/cant-start-packaged-project-on-5-1-graphicscontext-error/761533 "2023-02-01T17:45:38Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![Talad](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Talad](https://forums.unrealengine.com/u/Talad)\
**Post date:** [February 15, 2023, 12:31pm UTC](https://forums.unrealengine.com/t/cant-start-packaged-project-on-5-1-graphicscontext-error/761533/6 "2023-02-15T12:31:10Z")

</div>

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\Public\RHICommandList.h] [Line: 581]  
> There is no active graphics context on this command list. There may be a missing call to SwitchPipeline().

This was not happening in 4.27.2, the flag bUseChecksInShipping could be used in shipping builds without any problem.

UPDATE: I found out that’s an already logged ticket as well: [Unreal Engine Issues and Bug Tracker (UE-171275)](https://issues.unrealengine.com/issue/UE-171275)

---

_[View the full topic](https://forums.unrealengine.com/t/cant-start-packaged-project-on-5-1-graphicscontext-error/761533)._
