Fill Data Table from CSV does not exist in 4.22

Hi,

I have created a project in 4.19 which dynamically loads information from a CSV file into a datatable. To this end, I use the function Fill Data Table from CSV File, which worked fine.

Now I am moving the project to 4.22, and I notice that this function Fill Data Table from CSV File does not exist anymore?..

Why is this, and is there an alternative available? There is nowhere mentioned in the documentation that this function has been removed.

Thanks!

It was super buggy and still crashed in packaged 4.22. [edited]

Here’s the most recent one:

I have checked it, and it seems that it’s an editor only function, so you can use it in blueprints, which access Editor Scripting Utilities.

I was able to access the function you look for in both Editor Utility Widgets and BlUtility classes (Editor Utility Blueprint).

Thanks for clarifying, never used it personally, just heard complaints about it before.

Hi!

Thanks for the answers! I now indeed found the utility in the Editor Utility Widgets, and in one that is called PlacedEditorUtilityBase.

I am unfamiliar with these types, but I see that I can just load the CSV in the BeginPlay of the latter, and then use it. A bit weird, as I loaded this CSV before in a normal Blueprint.

Thanks a lot for pointing this out, that would have cost me hours of searching :slight_smile:

Hope they fix these issues… It’s a bit weird that loading a simple text file is such a hassle.

Well, these are used for scripting editor tools. Make sure not to call it from any in-game class tho, as this function seems to not compile for a shipping game at all.

I have also checked and seen that in 4.21 I can actually call these functions from any Blueprint, although, based on my findings, it seems, that it was never compiled for a shipping build. I believe this restriction in 4.22 (and 4.23) must be a safeguard to prevent people from accidentally calling an editor-only function from BPs.

1 Like

I didn’t use it either, although I can imagine some editor tools where it can be useful for designers :slight_smile: