-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GameSDK RelationshipManager.OnRefresh Issue: Returning 0 Relations #6446
Comments
Debugging this weird issue by tapping into IPC stream itself, I have found out that GET_RELATIONSHIPS command returns
For some reason discord client thinks GET_RELATIONSHIP call required by OnRefresh callback is privileged command, ends up not giving sdk friend list and therefore OnRefresh never fires. |
@appellation @afgiel Is this something you guys could assist with? |
|
the GameSDK runs unauthenticated and this worked before, so that is a breaking change and completely breaks the gamesdk relationships functionality, especially since that is a private scope and all gamesdk functionality is public. |
So this IS a bug? I'm part of a team developing extensions for a game engine and we are also facing this problem, please let us know if this will be solved soon. Clients using our engine are pressing for this bug fix from us... and apparently it's not a problem on our side then. |
Yeah I've had the same issue, not sure if it's a bug or not. |
I contacted developer support by email to ask if this change was intentional. Unfortunately, it seems that it is. "Unfortunately, this is intended and you will need to request permission for this scope. You can also check this link for your reference. https://discord.com/developers/docs/topics/oauth2#shared-resources-oauth2-scopes" It would be nice if the documentation for this is updated to reflect the change. Edit: I opened a pull request |
it is not possible to perform that oauth2 authorization using the GameSDK. it's a bug that has to be fixed |
Also it is a bit odd that registering |
Just want to update everyone here that after reaching out to support, I was sent the following:
Not really sure where to go from here. This renders this entire feature of the GameSDK as unusable. Public clarification would be appreciated. |
Another update. Additionally, my application for relationships.read got denied. It seems like this feature is now inaccessible.
|
Description
Users are encountering a sudden issue with Discord's GameSDK, where the relationshipManager.OnRefresh callback is consistently returning 0 relations. This problem impacts developers who use this feature to create friends lists, affecting their application functionality and user experience.
Steps to Reproduce
Use the exact same code provided in Discord's documentation to generate friends lists:
Expected Behavior
The result should be a number higher than 0 as the accounts running that code are confirmed to have relationships.
Current Behavior
The on refresh call returns 0 results, something that is worth noting is that the onRelationshipUpdate callback works fine so this must be an issue with the onRefresh callback only not the entire relationship manager.
The code below works fine:
Screenshots/Videos
No response
Client and System Information
Discord
Stable 230264 (c282a55) Host 1.0.9018 x86 (37496) Windows 10 64-Bit (10.0.22621)
System
Device name xps
Processor 12th Gen Intel(R) Core(TM) i7-12700H 2.30 GHz
Installed RAM 32.0 GB (31.7 GB usable)
System type 64-bit operating system, x64-based processor
Edition Windows 11 Home
Version 22H2
OS build 22621.2283
Experience Windows Feature Experience Pack 1000.22662.1000.0
The text was updated successfully, but these errors were encountered: