Copy/Paste SubObjects between packages

I have a custom asset type which has a property that references another custom subobject type, allowing polymorphic types to be set on the property in the editdor. This works fine, however, copy and paste functionality does not work between different outer assets.

I can copy a valid value to the clipboard, but when I attempt to paste over the field in another asset, I get the following error and it fails(and just sets the field to None)

LogProperty: Warning: Illegal TEXT
reference to a private object in
external package
(AblCollisionShapeCapsule
/Game/SeventhCurseBP/Ability/Enemy/Attacks/Stand_Bite.Default__Stand_Bite_C:AblCollisionQueryTask_0.AblCollisionShapeCapsule_0)
from referencer (AblCollisionQueryTask
/Game/SeventhCurseBP/Ability/Enemy/Attacks/Crouch_Bite.Default__Crouch_Bite_C:AblC
ollisionQueryTask_0). Import
failed…

I understand they are in different packages(assets), but as they are instanced property fields, I would expect to be able to duplicate the object property into the other asset.

I found a solution to my issue. The problem was that the sub objects that were allocated within the asset type needed their flags copied, because they were not marked as RF_Public, and therefore were not able to be copied.

1 Like