Every time I try and import a CSV file, no matter what’s in it, I get this error:
Failed to import ‘D:/Projects/Unreal Projects/GamepadKeyboard/Names.csv’. Failed to create asset ‘/Game/GamepadKeyboard/Blueprints/Names’
It never asks what structure to use or what type of file it should be. I’m using Excel 365 and saving the file as .csv. I have data in A1 and a test CSV had this data setup if that helps anyone:
Is there anything that I need to set first in the editor to allow data tables? I can’t import by the Import button, drag and drop or creating a data table then trying to reimport.
I didn’t think I had to do any C++. I was following a tutorial that showed how to do it in BP. Maybe I missed a step or something. Otherwise, none of those other issues should be a problem. As stated above, it’s not asking for any type of struct so I don’t think it’s even getting that far. I’ve also tried an empty CSV to no avail.
Glad you got it working; sometimes when I have problems with Blueprints I find closing project and Unreal Launcher then loading everything again can solve problem.
Hi, actually there is a proper answer to this issue, which is : .csv cannot be imported into UE4 if they are already opened in another software. To avoid the aforementioned issue you must make sure the document is closed, then import it.
Yep, I can vouch for this. Had this exact problem today, finally hit upon it by accident. Kind of annoying that you have to close it in Excel each time you want to reimport.
Just had the same issue, thanks Dinfael.
Logical when you look at it, a file open for write in another applications means you may not have the latest.
Would be nice to have a sensible message like file already opened, as it barfs before it asks you to select the data table import format etc. sign of a poorly written error messages in the unreal engine SDK.
Tripling up to say that this was the error I was having. The instant I closed Excel was the instant I could successfully import the CSV. You rule, Dinfael.