Download

Declared as C++ class member variable, assigned in blueprint property window, not initialized

||UPROPERTY(EditDefaultsOnly, BlueprintReadOnly, Category = ALS|Movement System)|
|—|—|
||FDataTableRowHandle MovementModel;|
This MovementModel is declared in ALS v4 C++ class, and assigned with a DataTable in blueprint property window, It’s fine in general cases.But I try to integrate with another template.I set character blueprint parented to ALS v4 basecharacter class. and There is a call to FindRow in BeginPlay in the Basecharacter class and it throws an exception indicating this MovementModel is none.MovementModel is not initialized in C++ code, instead it is assigned in blueprint property.
How can I debug this problem?More in general, how to debug blueprint related initialization?

Hi there - Can you format your code with three backticks ` above and below please?

like this
UPROPERTY(EditDefaultsOnly, BlueprintReadOnly, Category = "ALS|Movement System")
FDataTableRowHandle MovementModel;

OK, no problem.I can’t edit original post, so I reply here.

Are you sure you’re instantiating your blueprint class, and not your c++ class?