Provide a way for licensees to set a custom class for DataLayerInstanceWithAsset.
See [Link Removed]
In QAGame, create a custom class :
UCLASS(BlueprintType, MinimalAPI) class UQAGameDataLayerInstanceWithAsset : public UDataLayerInstanceWithAsset { GENERATED_BODY() UFUNCTION(Category = "Data Layer|Runtime", BlueprintCallable) virtual FString GetMyString() const { return MyString; } private: UPROPERTY(Category = "Data Layer", EditAnywhere) FString MyString; };
Update QAGame\Config\DefaultEngine.ini
[/Script/Engine.DataLayerManager] DataLayerInstanceWithAssetClass = /Script/QAGame.QAGameDataLayerInstanceWithAsset
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-191099 in the post.
0 |
Component | UE - World Creation - Worldbuilding Tools - World Partition |
---|---|
Affects Versions | 5.4 |
Target Fix | 5.3 |
Created | Jul 25, 2023 |
---|---|
Resolved | Jul 26, 2023 |
Updated | Aug 3, 2023 |