# Is it possible to get Datasmith Direct Link working in a packaged project without using a shortcut?

**URL:** <https://forums.unrealengine.com/t/is-it-possible-to-get-datasmith-direct-link-working-in-a-packaged-project-without-using-a-shortcut/1278829>\
**Category:** Pipeline & Plugins\
**Tags:** Datasmith, build, unreal-engine, runtime, question, Datasmith-Runtime\
**Created:** [August 31, 2023, 3:01pm UTC](https://forums.unrealengine.com/t/is-it-possible-to-get-datasmith-direct-link-working-in-a-packaged-project-without-using-a-shortcut/1278829 "2023-08-31T15:01:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Region\_Five](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Region\_Five](https://forums.unrealengine.com/u/Region_Five)\
**Post date:** [August 31, 2023, 3:01pm UTC](https://forums.unrealengine.com/t/is-it-possible-to-get-datasmith-direct-link-working-in-a-packaged-project-without-using-a-shortcut/1278829/1 "2023-08-31T15:01:20Z")

</div>

I have enabled Direct Link in my project and in works perfectly fine in PIE.

The documentation for using Datasmith Direct Link states that, in order to get it to work in a packaged project, I have to create a shortcut and add the “-messaging” parameter to the target property. This also works fine, but my question is:

Is there another way to get this enabled without using such a shortcut?

In the project settings I found the “Enable by default” setting under UDP messaging. This one looks exactly like something I was looking for, but sadly with this enabled it still only works with the -messaging shortcut.

Currently I use Development builds. This setting mentions to add ALLOW\_UDP\_MESSAGING\_SHIPPING = 1 to my TargetRules. I assumed it ment to add something like

```
    if (Target.Configuration == UnrealTargetConfiguration.Shipping)
    {
        PublicDefinitions.Add("ALLOW_UDP_MESSAGING_SHIPPING=1");
    }

```

to my build.cs but it also did not work.

Is there something else I need to do or have I done something wrong? Maybe there is a way to achieve this with UAT (which I havent used till now, so I have no knowledge about it)?  
Or is there simply no way to build my project with -messaging already enabled?
