Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

FillDataTableFromJsonFile causes an error when it has packaged

I intended to use "Fill Data Table from Json File" node to peak a Json file and fill a DataTable. The Json file is made by exporting DataTable, and located in the folder near C:. It totally worked in editor.

But, if I pack the project and test it, the node caused a fatal error. By memory access violation, probably. "Fill Data Table from Json String", "Fill Data Table from Json String", "Fill Data Table from CSV String" are similar.

At present, as far as my situation, the problem has been avoided by abandon using blueprints but using a C++ class. So, I just want to know that is known issue or not, or is reproducible problem anyway.

alt text

Product Version: UE 4.20
datatablecrash.png (164.3 kB)
more ▼

asked Aug 27 '18 at 12:26 AM in Blueprint Scripting

avatar image

18 1 2 6

avatar image RVillani Feb 25 '19 at 04:48 AM

UE 4.21 and I'm having the same problem. I'm testing to see if the json file was not copied successfully, but I see you were using an absolute path, which means the problem is not with finding the file.

avatar image obusto Feb 26 '19 at 11:30 AM

Thank you for corroborating reproducibility. "Fill Data Table from Json String" which has taken a pure json string causes crash in the same way. Therefore, ths is clearly an issue of the node itself.

avatar image kikirola May 24 '19 at 09:01 AM

we have the same problem,need help!

avatar image Mark.Holland May 24 '19 at 09:06 AM

It's not possible at the moment as that node only works in editor.

But you can access the JSON data using this plugin from LowEntry.


avatar image kikirola May 27 '19 at 08:39 AM

It works,THX :)

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

FillDataTableFromJSONFile is wrapped by WITH_EDITOR macro in the engine code. So it won't work indeed unless you hack up a little bit and bring this function to your own C++ game library - it shouldn't be hard.

Best Regards,

more ▼

answered Mar 08 '19 at 06:43 PM

avatar image

26 6 4

avatar image obusto Mar 11 '19 at 07:41 AM

Thank you for the answer. I don't know about your point and the macro. Sincerely,

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question