Can not package due to unowned pin error

Hey Matthew thanks for the reply!
You are correct about the nativize blueprint assets option. However, I tried with both on or of, so it’s possible the log contains 2 or more attempts at packaging.

It always breaks here, where it says “Trying to reference an unowned pin: %s” in EdGraphPin.h

friend uint32 GetTypeHash(const FEdGraphPinReference& EdGraphPinReference)
{
    UEdGraphNode* ResolvedOwningNode = EdGraphPinReference.OwningNode.Get();
    ensureMsgf(ResolvedOwningNode || !EdGraphPinReference.PinId.IsValid(), TEXT("Trying to reference an unowned pin: %s"), *EdGraphPinReference.PinId.ToString());
    uint32 NodeHash = ResolvedOwningNode ? FCrc::StrCrc32(*ResolvedOwningNode->GetName()) : 0;
    return FCrc::StrCrc32(*EdGraphPinReference.PinId.ToString(), 0 );
}

I also watched at the values before but the owning pin is a nullptr.(which is probably the reason it doesn’t work) Only thing I get is the pin’s ID but I’m clueless what I can do with that.
108555-