[Online Services EOS] GetFriends returns empty even after successful QueryFriends and Social Overlay interaction

Hi everyone,

I am currently developing a game in Unreal Engine 5 and using the new Online Services EOS plugin (not the legacy OnlineSubsystem). I’m facing an issue where the Friends Interface doesn’t seem to cache/return any relationship data locally.

The Setup:

  • Engine Version: UE 5.x (using UE::Online namespace).

  • Plugin: Online Services EOS.

  • Environment: Two separate developer accounts within the same Organization.

  • Action: I successfully logged in both accounts. Using the EOS Social Overlay (Shift+F3), Account A sent a friend invite to Account B. I saw the “Add Friend” UI pop up and confirmed the action.

The Issue: I am following the standard asynchronous flow:

  1. I call IFriends::QueryFriends.

  2. The OnComplete delegate/TFuture returns Success.

  3. Immediately after success, I call IFriends::GetFriends to retrieve the cached list.

  4. Result: GetFriends returns an empty array (Num = 0) for both accounts.

My Confusion regarding Documentation: According to the Official Documentation:

  • The FFriend struct contains an ERelationship member.

  • ERelationship includes values like InviteSent, InviteReceived, and Friend.

Based on this, my understanding is that GetFriends should return all relationship types (including pending invites), not just confirmed friends. If GetFriends only returns confirmed friends, how am I supposed to retrieve the list of pending invites to display in my custom UI?

What I’ve checked:

  • QueryFriends definitely returns a success status.

  • The Social Overlay not shows the pending invite.

  • The LocalUserId passed into the parameters is correct.

Questions:

  1. Is there a specific Schema or filter I need to define in QueryFriends to include pending invites in the local cache?

  2. Does GetFriends internally filter out anything that isn’t ERelationship::Friend?

  3. Is there a known sync issue between the Social Overlay actions and the Online Services local cache?

Any insights would be greatly appreciated!