As part of a data import chain, which is invoked at editor runtime, I load a UDataTable asset with the LoadObject<>() function and add rows with the imported data in C++ code. Now I want to save the changes to the asset, but simply adding new rows programatically to the data table object doesn’t seem to do the trick. How can I achieve that?
My code so far:
UDataTable *table = LoadObject<UDataTable>(this, TEXT("/Game/Character/Blueprints/Humanoid/Player/TCG_PlayerUnitData.TCG_PlayerUnitData")); table->AddRow(characterData.sName, characterData);