If a data table asset is based on a custom struct, making changes to and hot reloading the struct will not update the data table in the editor. Restarting the editor will prevent the data table from opening. Error message shown in attached screenshot.
Regression:
No - Issue cannot be properly tested in 4.14.3 (CL 3249277) due to data table asset not saving at step 9 (Graph Linked to Private Object)
USTRUCT(BlueprintType) struct FMyStruct : public FTableRowBase { GENERATED_BODY() public: UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = test) int32 SomeNumber; UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = test) bool SomeCheckbox; UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = test) float AnotherNumber; UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = test) float MoreNumbers; };
Result:
Error message appears when trying to open MyDataTable. Pressing "Yes" at error message will open the asset without any of the struct information.
Expected:
Data Table asset updates after hot reload and can be opened after restarting the editor.
Head over to the existing Questions & Answers thread and let us know what's up.
64 |
Component | UE - Gameplay |
---|---|
Affects Versions | 4.15.1, 4.16 |
Created | Mar 28, 2017 |
---|---|
Resolved | Aug 18, 2021 |
Updated | Sep 14, 2021 |