# Ray Tracing bug ONLY in Shipping

**URL:** <https://forums.unrealengine.com/t/ray-tracing-bug-only-in-shipping/2288034>\
**Category:** C++\
**Tags:** Raytracing, Shipping, Ray-Tracing, unreal-engine, crash, question\
**Created:** [January 19, 2025, 6:35am UTC](https://forums.unrealengine.com/t/ray-tracing-bug-only-in-shipping/2288034 "2025-01-19T06:35:56Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![DELGOODIE](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/delgoodie/32/1103781_2.png) [@DELGOODIE](https://forums.unrealengine.com/u/DELGOODIE)\
**Post date:** [January 19, 2025, 6:35am UTC](https://forums.unrealengine.com/t/ray-tracing-bug-only-in-shipping/2288034/1 "2025-01-19T06:35:56Z")

</div>

I get this Runtime error in packaged shipping game that does NOT occur when game is packaged in DebugGame or Development configuration:

Current version is 5.4.4 but I’ve had this error on previous version of unreal too.

```auto
LowLevelFatalError [File:D:\Unreal Engine\5.4.4-release\Engine\Source\Runtime\D3D12RHI\Private\D3D12Util.cpp] [Line: 991] 
RayTracingDevice->CreateStateObject(&Desc, IID_PPV_ARGS(Result.GetInitReference())) failed 
 at D:\Unreal Engine\5.4.4-release\Engine\Source\Runtime\D3D12RHI\Private\D3D12RayTracing.cpp:663 
 with error E_INVALIDARG

```

Any help would be greatly appreciated!

---

<div class="post-metadata">

**Author:** ![usurperquaid](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@usurperquaid](https://forums.unrealengine.com/u/usurperquaid)\
**Post date:** [February 8, 2025, 1:13am UTC](https://forums.unrealengine.com/t/ray-tracing-bug-only-in-shipping/2288034/2 "2025-02-08T01:13:41Z")

</div>

I have this right now. Did you ever find out what the issue is? It seems to work for me in development package but not shipping.

---

<div class="post-metadata">

**Author:** ![DELGOODIE](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/delgoodie/32/1103781_2.png) [@DELGOODIE](https://forums.unrealengine.com/u/DELGOODIE)\
**Post date:** [February 11, 2025, 7:10pm UTC](https://forums.unrealengine.com/t/ray-tracing-bug-only-in-shipping/2288034/3 "2025-02-11T19:10:43Z")

</div>

i upgraded to 5.5.2 and it went away, also make sure you DONT have

```auto
		bUseChecksInShipping = true;

```

in your target.cs file
