This is a really old post but just in case anyone else comes across this issue. You need to implement GetTypeHash
inside your struct.
With the above example you’d probably want something like this:
friend uint32 GetTypeHash(const FSaveStruct& other)
{
return GetTypeHash(other.ObjectUUID.ToString() + other.UserUUID);
}
This works really well with this struct example because this function should return something that makes this struct unique to all others. If you don’t have something like a GUID inside your struct then I’d just mirror your ==operator overload.