Knowledge Base: What is the safest way to store and compare EOS PUIDs?

EOS_ProductUserId values from the SDK are pointers but are stored in a cache in such a way that for each PUID there will be one instance. The SDK compares these pointers itself for checking equality. If the EOS_ProductUserId value was not obtained from the SDK, then you need to use ToString.

https://dev.epicgames.com/community/learning/knowledge-base/l0Rqe/epic-online-services-what-is-the-safest-way-to-store-and-compare-eos-puids