export_data_table_as_csv
Export a Unreal Engine DataTable to CSV as a read-only backup, returning row structure, row count, and the CSV string, with optional UTF-8 file write.
Instructions
Export a whole DataTable to CSV with the native exporter (read-only), returning row_struct, row_count and the csv string, optionally also written to a UTF-8 file. Use it as the backup before import_data_table_csv; nested structs and TMaps do not survive CSV cleanly, so export_data_table_as_json is the faithful copy.
Returns: { table_path, row_struct, row_count, csv, written_to? }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | No | Optional OS path to also write the CSV string to (echoed back as written_to) | |
| data_table | No | Alias of table_path: pass one of the two. | |
| table_path | No | Full asset path of the DataTable. |