TMap<TWeakObjectPtr<UObject>, TID>::Find(AnyInvalidObject) should not return a value

Hi,

You should find this other post interesting: [Content removed] It discusses various type of Keys for map and set. Toward the end, it also mention using TWeakObjectPtrMapKeyFuncs/TWeakObjectPtrSetKeyFuncs, which is probably what you are looking for.

Regards,

Patrick