# Excute PathTracing console command cause fatal error

**URL:** <https://forums.unrealengine.com/t/excute-pathtracing-console-command-cause-fatal-error/1145765>\
**Category:** Rendering\
**Tags:** unreal-engine, question, Path-Tracing\
**Created:** [April 27, 2023, 2:49am UTC](https://forums.unrealengine.com/t/excute-pathtracing-console-command-cause-fatal-error/1145765 "2023-04-27T02:49:31Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![cadenspringer](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@cadenspringer](https://forums.unrealengine.com/u/cadenspringer)\
**Post date:** [April 27, 2023, 2:49am UTC](https://forums.unrealengine.com/t/excute-pathtracing-console-command-cause-fatal-error/1145765/1 "2023-04-27T02:49:31Z")

</div>

Hello everyone,

I using the Excute console command to run the PathTracing in the blueprint.  
I want use blueprint to control the PathTracing command input value.  
It works in the unreal engine, but not in the packaged file.  
How can I use PathTracking command in the shipping file?

Here is the blueprint:

 ![Screenshot 2023-04-26 140430](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/9/d/29d4d88e1becb89a821cc4bf7c262641569fa91a.png)

Works on the UE5.0:

 ![Screenshot 2023-04-26 140754](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/3/a/d3afebab6a1e6cc6343fc9391419cb81187fd0d4.jpeg)

Not work on the packaged file:

 ![Screenshot 2023-04-26 140904](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/0/2/10242e6de55232f38f3c7f72ba1e6be0ec20921f.jpeg)

I follow the [Path Tracer setting](https://docs.unrealengine.com/5.1/en-US/path-tracer-in-unreal-engine/), I change to **DirectX 12** , Enable **Path Tracing** and Enable **Support Hardware Ray Tracing**

Thanks for reading this post.

Best regards,  
Caden
