Description

The Meta Allowed Classes specifier doesn't allow the user to assign anything of the second type.

Found in 4.24.1 CL#10757647
Reproduced in 4.23.1 CL#9631420, 4.25 Main CL#10868506

Steps to Reproduce

1. Declare a struct that inherits from FTableRowBase with the following declaration

UPROPERTY(EditDefaultsOnly, Meta = (AllowedClasses = "StaticMesh, SkeletalMesh"))
TAssetPtr<UObject> Mesh;

2. Create a data table based on the created struct.
3. Add a row and try to assign a skeletal mesh.
4. Notice that it isn't assigned.
5. Try to assign a static mesh.
6. Notice that it is assigned.

Result: The TAssetPtr will only assign types of the first type in the Allowed Classes.

Expected: The TAssetPtr will assign both types in the Allowed Classes.

Have Comments or More Details?

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

0
Login to Vote

Fixed
ComponentTools
Affects Versions4.23.14.24.14.25
Target Fix4.25
Fix Commit10902301
Main Commit11224363
CreatedDec 24, 2019
ResolvedJan 13, 2020
UpdatedFeb 13, 2020