Description

Provide a way for licensees to set a custom class for DataLayerInstanceWithAsset.

Steps to Reproduce

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 

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-191099 in the post.

0
Login to Vote

Fixed
Fix Commit26602684
Main Commit26602714
Release Commit26602684
CreatedJul 25, 2023
ResolvedJul 26, 2023
UpdatedAug 3, 2023