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 to Questions & Answers just mention UE-68342 in the post.

2
Login to Vote

Won't Fix
CreatedJan 11, 2019
ResolvedAug 27, 2021
UpdatedAug 27, 2021
View Jira Issue