Not sure what the issue is, but try this to see if the problem is the way you are loading the data table:
I assume you have a custom Blueprint class that inherits from UUnrealGameInstance and that you are using in your game. If so:
-
In your UnrealGameInstance class, add the following macro above the UDataTable_DataAsset declaration:
UPROPERTY(EditDefaultsOnly) -
Also in your UnrealGameInstance class, comment out the
= LoadObject<UDataTable_DataAsset>(NULL, TEXT("/Game/DataAsset/AssetDT.AssetDT"), NULL, LOAD_None, NULL)
-
In the custom blueprint class, set the value of value of the the TDataAsset variable to the data table you are referencing (i.e., AssetDT)
Now see if it works.