When I try to import a DataTable I get an error message saying that there are too few rows.
This is the code for the structure:
/** Structure that defines a level up table entry */
USTRUCT(BlueprintType)
struct FCharacterData : public FTableRowBase
{
GENERATED_USTRUCT_BODY()
public:
FCharacterData()
: XPtoLvl(0)
, XP(0)
{}
/** The 'Name' column is the same as the XP Level */
/** XP to get to the given level from the previous level */
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = LevelUp)
int32 XPtoLvl;
/** This was the old property name (represented total XP) */
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = LevelUp)
int32 XP;
};
And this is the CSV file:
Name,XPtoLvl,XP
1,0,0
2,1000,1000
3,2000,2000
4,3000,3000
5,4000,400
I get the same error with curve table as well.
Any help would be appreciated. Thanks!