I had this issue, too. I could not find the cause of this, but I have a workaround. Add the following code:
UINTERFACE()
class UInterfacePickupable : public UInterface
{
GENERATED_UINTERFACE_BODY()
};
// insert this:
inline UInterfacePickupable::UInterfacePickupable(const class FObjectInitializer& ObjectInitializer)
: Super(ObjectInitializer)
{}
class IInterfacePickupable
{
GENERATED_IINTERFACE_BODY()
};
I believe this code should be automatically generated, and I suspect this is a bug in the UHT. Maybe you should move this question to the bug reports
section to get epics attention.