Player:IsFriendsWithAsync() returns false for valid Connections in Live Servers

The function Player:IsFriendsWithAsync() consistently returns false even when using a valid UserId from an existing Roblox Connection. The same behavior occurs with deprecated functions such as Player:IsFriendsWith() and Player:isFriendWith().

This happens in both LocalScripts and ServerScripts, but only in live servers — in Roblox Studio, everything works as expected.

However, something strange also happens: the function returns true if the Connection is currently in the same server, but as soon as they leave, it starts returning false.

Steps to reproduce:

  1. Join a live game server with a Connection.
  2. Call Player:IsFriendsWithAsync(connectionUserId) from either a LocalScript or ServerScript.
  3. Have the Connection leave the server.
  4. Observe that the function now returns false.

Expected behavior

The function should return true even if the Connection is not in the same server.

A private message is associated with this bug report

11 Likes

I saw someone else mention this problem a few mins ago in a discord development server (unless that was you lol) - but def sounds like a bug, I haven’t checked it - (not helping sorry) but was just interested since I’ve now heard this twice today

2 Likes

Mine is returning false even if they’re in the same server since I’m using this on join. Hopefully it gets fixed soon.

1 Like

Hey @guigoals! Thanks for the report.

The team investigated the issue and found the root cause. They are working on implementing a patch.

6 Likes

Breaks my offline friend invite feature, that relies on IsFriendsWithAsync() to validate that offline users invited are actually friends

2 Likes

Experiencing this bug in my game aswell. Hope to see this fixed soon.

Edit: I am experiencing this within studio aswell, not just in live servers like the post originally stated.

1 Like

The team has completed the patch. The patch should go live later next week (around February 26th) and be fully adopted by all clients in early March. I’ll post a follow-up message in this thread if the release timelines change.

1 Like

What about the server? I’m calling IsFriendsWithAsync from the server.

The patch fixes both the client and server. The release schedule for server is similar to the client, so it should also be released late next week.

5 Likes

Thank you for identifying the solution – we’ve also been dealing with many player reports who are trying to join friends for Gacha Online ✨ RP - Roblox .

Is there a reason this can’t be patched separately and sooner? Especially since it’s already been resolved and a solution found. Waiting another 9 days for a patch is going to cause friction with our playerbase.

1 Like

Unfortunately, we won’t be able to release the patch any earlier than the 26th due to technical limitations with our release process.

1 Like

critical bugs should be fixed immediately

3 Likes

It’s March 2nd now, when will this patch release? Sorry but I really need it to work

The team just rolled out the fix to all platforms excluding iOS. iOS release was slightly delayed this week. I will update the thread once the patch is applied to iOS. In the meantime, please let me know if you continue to experience the bug on other platforms.

:rofl: LOL, I’m using windows and ts not fixed yet. Thats so crazy :sob:

iOS rollout is complete, although iOS adoption is not 100% yet. You can check if a client has the change by going to More Tab => About => App Information and checking the second part of the version. Versions 710 and above have the patch.

@A_DMINING we are unable to reproduce the issue internally on windows. There are still a small percentage of windows clients that are on 709. It could be that your client has not picked up the update yet. If your client is on 710, it would be helpful to know the steps you used to reproduce the bug.

1 Like

I update through the studio, but after the restart I am still offered to update Roblox Studio, and so on endlessly