# Datatable not packaging

**URL:** <https://forums.unrealengine.com/t/datatable-not-packaging/478147>\
**Category:** Platform & Builds\
**Tags:** not-working, datatable, unreal-engine, Packaging, packaging-projects, question\
**Created:** [February 2, 2021, 6:44pm UTC](https://forums.unrealengine.com/t/datatable-not-packaging/478147 "2021-02-02T18:44:21Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![ShadowCS](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ShadowCS](https://forums.unrealengine.com/u/ShadowCS)\
**Post date:** [February 2, 2021, 6:44pm UTC](https://forums.unrealengine.com/t/datatable-not-packaging/478147/1 "2021-02-02T18:44:21Z")

</div>

Hey all

Been attempting to package a game with several data tables recently but i’m having an issue with them in the packaged version. All is fine with the editor version and the packaging is smooth but when I try to read the anything from the data table, it contains no elements. From my research I’ve tried using Full Rebuild in packaging, reimported the data (from CSV file), Cooking Everything in Project content directory, and made sure Strip from Client Builds was false with nothing resolving the issue. This is the only data table I can confirm is an issue, though my suspicion is surrounding the fact it is the only data table that is using a CSV File but I maybe mistaken.

If anyone has a solution to this please let me know.

---

<div class="post-metadata">

**Author:** ![Raktou](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Raktou](https://forums.unrealengine.com/u/Raktou)\
**Post date:** [July 9, 2021, 5:47pm UTC](https://forums.unrealengine.com/t/datatable-not-packaging/478147/2 "2021-07-09T17:47:28Z")

</div>

Hey!

I found this answer for me and I’m testing it, it’s a very simple solution if it works. I placed the “File path” of the Data Tables on the “Additional Non-Asset Directories to Package”:

 ![343722-capture.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/4/c/e4caeab762c77dcbf9d80eb8c7d07510940e3af7.png)

Here’s the link for the answer:

> **[Data table not packaging](https://forums.unrealengine.com/questions/855285/data-table-not-packaging.htm)**
>
> I created a data table using a csv file. I have everything setup through blueprints and it works in the editor. When I package for windows or html5 the package version is not referencing the data table. There is a mesh actor I’m referencing with a...

---

<div class="post-metadata">

**Author:** ![Baetong20](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Baetong20](https://forums.unrealengine.com/u/Baetong20)\
**Post date:** [April 28, 2023, 7:39am UTC](https://forums.unrealengine.com/t/datatable-not-packaging/478147/3 "2023-04-28T07:39:17Z")

</div>

Thank you. I have same problum.

---

<div class="post-metadata">

**Author:** ![CoP3D](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@CoP3D](https://forums.unrealengine.com/u/CoP3D)\
**Post date:** [September 9, 2024, 4:31am UTC](https://forums.unrealengine.com/t/datatable-not-packaging/478147/4 "2024-09-09T04:31:20Z")

</div>

Hi,

I am having the same issue, I followed the instruction above to set the datatable.uasset in the “Additional Non-Asset Directories to Package” but it was not successful.

My second attempt as it mentioned in the thread to do a reference, I did in my thirdperson template at EventBeginPlay set the Datatable as variable and try to print rows. At begin play, it does print the row names when calling, however, in my attempt to compare the actor name with the datatable it still stands unresponsive.  
 ![Image_Debug](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/5/e/85e8e8407a476e5a0b23b519fe6803722138f038.jpeg)

 ![Image_Debug2](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/3/4/a34056f512e0c4dabcf26173102ddddb746e6064.jpeg)  
.

What I noticed is that is the packaging log it output this following statement:

```auto
[3861.40][838]UATHelper: Packaging (Windows): Unable to find directory "H:\3D_City_Model\2_PROJECTS\2024\2413_PIA\UNREAL\COP_012_240725\Content\02_BP\BLDG_TABLE\DT_BLDG_NAME.uasset" for staging, retrieved from "/Script/UnrealEd.ProjectPackagingSettings" "DirectoriesToAlwaysStageAsUFS"
[3861.40][838]UATHelper: Packaging (Windows): Unable to find directory "H:\3D_City_Model\2_PROJECTS\2024\2413_PIA\UNREAL\COP_012_240725\Content\02_BP\BLDG_TABLE\DT_BLDG_NAME.uasset" for staging, retrieved from "/Script/UnrealEd.ProjectPackagingSettings" "DirectoriesToAlwaysStageAsNonUFS"
[5931.93][526]UATHelper: Packaging (Windows): Unable to find directory "H:\3D_City_Model\2_PROJECTS\2024\2413_PIA\UNREAL\COP_012_240725\Content\02_BP\BLDG_TABLE\DT_BLDG_NAME.uasset" for staging, retrieved from "/Script/UnrealEd.ProjectPackagingSettings" "DirectoriesToAlwaysStageAsUFS"
[5931.94][526]UATHelper: Packaging (Windows): Unable to find directory "H:\3D_City_Model\2_PROJECTS\2024\2413_PIA\UNREAL\COP_012_240725\Content\02_BP\BLDG_TABLE\DT_BLDG_NAME.uasset" for staging, retrieved from "/Script/UnrealEd.ProjectPackagingSettings" "DirectoriesToAlwaysStageAsUFS"
[5931.94][526]UATHelper: Packaging (Windows): Unable to find directory "H:\3D_City_Model\2_PROJECTS\2024\2413_PIA\UNREAL\COP_012_240725\Content\02_BP\BLDG_TABLE\DT_BLDG_NAME.uasset" for staging, retrieved from "/Script/UnrealEd.ProjectPackagingSettings" "DirectoriesToAlwaysStageAsNonUFS"

```

The table is well loaded at begin play in the packaged game, if opening the debugger I can find the table name. However its rows are empty, I believe as they do not print anything see images.

---

<div class="post-metadata">

**Author:** ![CoP3D](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@CoP3D](https://forums.unrealengine.com/u/CoP3D)\
**Post date:** [September 10, 2024, 2:45am UTC](https://forums.unrealengine.com/t/datatable-not-packaging/478147/5 "2024-09-10T02:45:36Z")

</div>

I found a solution, below are the two step I did in my iterations:

1. Set the data table as variable at eventBeginPlay so you unsure it is loaded when game start.

2. Secondly, in the package project settings, ensure you have the checkbox full rebuild selected on. (see image)

Hope it will help newcomers to this issue 🙂

 ![Image_Debug3](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/6/f/d6fc0127a85ae81e14a3dfd75ee3472e46bc5d8f.jpeg)

---

<div class="post-metadata">

**Author:** ![Aeromir](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Aeromir](https://forums.unrealengine.com/u/Aeromir)\
**Post date:** [February 3, 2025, 7:56pm UTC](https://forums.unrealengine.com/t/datatable-not-packaging/478147/6 "2025-02-03T19:56:34Z")

</div>

Hey there, just had this same issue and fixed on my side. The answer was to remove all spaces from the Property Name used for retrieval.

This setup did not work:

Struct Variable  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/e/8/fe8cc817c8bb1a2ec42cd034403fbc3cf30485eb.png)

Retrieving

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/4/e/04e52684c1af81e57b525e0f701547fde9d9445f.png)

This setup worked immediately:

Struct Variable (Spaces removed)  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/b/0/db00031e17081093075462da67ffc27ec60dc391.png)

Retrieving with updated name

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/8/8/5888a47a02008d707c3e9c70e650b2dfdd96bf9e.png)

Testing with Standalone Game accurately reflected the results I received in the packaged game, PIE did not.
