Description

An overly generic error message is produced when you have a TArray UProperty that contains a non-blueprint friendly type.

For example:
UPROPERTY(EditAnywhere, BlueprintReadWrite, editfixedsize)
TArray<FInputBlendPose> MyVariable;

would produce the following error message:

LogCompile: Error: Type 'TArray' is not supported by blueprint. MyClass.MyVariable

The true problem is that FInputBlendPose is not Blueprint friendly and conflicts with the BlueprintReadWrite markup on the TArray declaration.

Changing the error message to include template type arguments, such as either of the following error messages would be ideal:

LogCompile: Error: Type 'TArray<FInputBlendPose>' is not supported by blueprint. MyClass.MyVariable

LogCompile: Error: Template Type 'FInputBlendPose' in 'TArray<FInputBlendPose>' is not supported by blueprint. MyClass.MyVariable

Steps to Reproduce

Declare a blueprint friendly TArray of a non-blueprint friendly type such as

UPROPERTY(EditAnywhere, BlueprintReadWrite, editfixedsize)
TArray<FInputBlendPose> MyVariable;

Have Comments or More Details?

There's no existing public thread on this issue, so head over toAnswerHub just mention UE-68342 in the post.

1
Login to Vote

Backlogged
ComponentCore - UnrealHeaderTool
Affects Versions4.204.21
CreatedJan 11, 2019
UpdatedNov 10, 2019