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:
UnitName as Name property:
I’ve added the suggested Excel macro to encase all cells in double quotes:
I’m not sure if this actually is a bug and I ended up using a String variable instead, but it certainly seems inconsistent.
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.
I’ve attached a zip 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.
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.
It looks like this is a known issue and is currently being addressed by the development staff.
This issue should be addressed by the following change: https://github.com/EpicGames/UnrealEngine/commit/378e2a170b0a55e61efb6da6b737611856d5c0c6
I raised UE-20839 for this issue, and marked it as a 4.10 fix.