The likely cause is the EOS SDK is being initialized for different environments on the different store builds. You can check the environment the EOS SDK was initialized with by looking at logs. In the logs look for the message below and make sure DeploymentId and SandboxId are the same.
https://dev.epicgames.com/community/learning/knowledge-base/p4Jr0/epic-online-services-why-are-cross-store-game-invites-not-working