(Unreal 5.1) Whenever I import DataTables from CSV (using a row structure from C++ USTRUCT(BlueprintType) that inherits from FTableRowBase), everything works fine, but then if I close Unreal and open it again, then the DataTables get corrupted, when I open it gives an error “Failed to load assets” and log shows “LogAssetEditorSubsystem: Error: Opening Asset editor failed because of null asset”). Any way to fix this/prevent this?
I’ve resolved this myself. The problem was in accessing datatables too early. I wrapped all datatable access with if (GetWorld())
and that solved the issue