# \[4.8.3\] Importing csv data into Name property cuts off strings

**URL:** <https://forums.unrealengine.com/t/4-8-3-importing-csv-data-into-name-property-cuts-off-strings/329858>\
**Category:** Asset Creation\
**Tags:** data-structures, datatable, csv, unreal-engine, import, bug-report, question\
**Created:** [August 25, 2015, 1:23pm UTC](https://forums.unrealengine.com/t/4-8-3-importing-csv-data-into-name-property-cuts-off-strings/329858 "2015-08-25T13:23:14Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_359f4d3c](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_359f4d3c](https://forums.unrealengine.com/u/anonymous_user_359f4d3c)\
**Post date:** [August 25, 2015, 1:23pm UTC](https://forums.unrealengine.com/t/4-8-3-importing-csv-data-into-name-property-cuts-off-strings/329858/1 "2015-08-25T13:23:14Z")

</div>

I’ve set up a small struct containing some values pertaining to a combat unit, and created a Data Table based on this struct by importing the matching csv file.

For some reason, string values are treated differently if they are of type Name on the one hand or FText/String on the other. While both FText and String values are read in completely, Name values always get cut off at the first space.

_UnitName_ as String/FText property:

![55687-datatable_stringftext.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/d/5/5d579bf092de2899612038506a07193e8797cf43.png)

_UnitName_ as Name property:

![55689-datatable_name.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/b/6/9b617169614e6beadeaf63e320ffe7881d378f66.png)

I’ve added the suggested Excel macro to encase all cells in double quotes:

![55688-datatable_csv.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/c/7/dc71118ffac4bd4887e9ffe5d9747537c7a2e1ae.png)

I’m not sure if this actually _is_ a bug and I ended up using a String variable instead, but it certainly seems inconsistent.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_b9532c9a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_b9532c9a](https://forums.unrealengine.com/u/anonymous_user_b9532c9a)\
**Post date:** [August 25, 2015, 7:18pm UTC](https://forums.unrealengine.com/t/4-8-3-importing-csv-data-into-name-property-cuts-off-strings/329858/2 "2015-08-25T19:18:42Z")

</div>

Hi ,

Can you send me a sample csv table that is experiencing this error? I’ll be happy to take a look and see if I can find out what is occurring.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_359f4d3c](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_359f4d3c](https://forums.unrealengine.com/u/anonymous_user_359f4d3c)\
**Post date:** [August 27, 2015, 12:40pm UTC](https://forums.unrealengine.com/t/4-8-3-importing-csv-data-into-name-property-cuts-off-strings/329858/3 "2015-08-27T12:40:41Z")

</div>

I’ve attached a file containing the csv file as well as the struct and datatable.

The issue should appear when you change the _UnitName_ property (currently String) to Name and reimport.

Thanks!

link text

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_b9532c9a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_b9532c9a](https://forums.unrealengine.com/u/anonymous_user_b9532c9a)\
**Post date:** [August 31, 2015, 2:18pm UTC](https://forums.unrealengine.com/t/4-8-3-importing-csv-data-into-name-property-cuts-off-strings/329858/4 "2015-08-31T14:18:39Z")

</div>

Hi ,

I just wanted to update you to let you know I’m still looking into this. As soon as I have more information I’ll post here with an update.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_b9532c9a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_b9532c9a](https://forums.unrealengine.com/u/anonymous_user_b9532c9a)\
**Post date:** [September 2, 2015, 1:00pm UTC](https://forums.unrealengine.com/t/4-8-3-importing-csv-data-into-name-property-cuts-off-strings/329858/5 "2015-09-02T13:00:36Z")

</div>

Hi ,

It looks like this is a known issue and is currently being addressed by the development staff.

---

<div class="post-metadata">

**Author:** ![Jamie\_Dale](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jamie_dale/32/1165413_2.png) [@Jamie\_Dale](https://forums.unrealengine.com/u/Jamie_Dale)\
**Post date:** [September 7, 2015, 2:37pm UTC](https://forums.unrealengine.com/t/4-8-3-importing-csv-data-into-name-property-cuts-off-strings/329858/6 "2015-09-07T14:37:29Z")

</div>

This issue should be addressed by the following change: [https://github.com/EpicGames/UnrealEngine/commit/378e2a170b0a55e61efb6da6b737611856d5c0c6](https://github.com/EpicGames/UnrealEngine/commit/378e2a170b0a55e61efb6da6b737611856d5c0c6)

I raised UE-20839 for this issue, and marked it as a 4.10 fix.
