Default value picker for property of type UClass* does not show interfaces.

For UClass* properties like the following, in the blueprint setter it’s possible to pick an interface class.
But in the “Class Defaults” panel it’s impossible to pick an interface class.

It should be possible, as it is possible the other way.



UPROPERTY(EditAnywhere, BlueprintReadWrite, Category=Classes)
UClass* FilterClass;

See image:


https://forums.unrealengine.com/core/image/gif;base64

Hi dreamland, I investigated this issue and discovered that the issue was on the node side, it always displays interfaces in the list, I submitted a fix in https://github.com/EpicGames/UnrealEngine/pull/7218 to address it to make it behave properly like the properties panel. To allow interfaces in the properties panel, simply add meta = (AllowAbstract = "") to the variable declaration. I hope this helps. Cheers,

The specifier works, thanks!



UPROPERTY(EditAnywhere, BlueprintReadWrite, Category=Classes, meta = ( AllowAbstract = "true" ))
UClass* FilterClass;