The editor-scripting blueprint node "Add Data Table Row" fails when the Data Table uses a Row Structure that was defined in blueprint. Internally, it checks if the passed-in UScriptStruct is derived from FTableRowBase, which fails for type UUserDefinedStruct.
Replacing
const bool bIsTableRow = RowType->IsChildOf(FTableRowBase::StaticStruct());
with
const bool bIsTableRow = FDataTableEditorUtils::IsValidTableStruct(RowType);
is a potential fix.
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-205826 in the post.
13 |
Component | UE - Gameplay - Blueprint |
---|---|
Affects Versions | 5.3.2 |
Target Fix | 5.6 |
Created | Feb 2, 2024 |
---|---|
Updated | Sep 30, 2024 |