[Bug]: Does not display RPC in Discord Client #43

Closed
opened 2023-11-28 20:43:12 +00:00 by zolrath · 13 comments
zolrath commented 2023-11-28 20:43:12 +00:00 (Migrated from github.com)

What happened?

Hello!
While testing this plugin in Godot 4.2 RC2 this addon does not appear to work.
Editor Presence Enabled has no effect, nor does any Rich Presence I attempt to add to my own project.

Version

3.2

Godot Version

4.2-RC2

GDScript

discord_sdk.app_id = myappid
discord_sdk.details = "Jumpin' on friends"
discord_sdk.state = "Playing %s" % GameManager.mode_info.name
discord_sdk.large_image = "bigbroccoli"
discord_sdk.large_image_text = "You're pretty cool!"
discord_sdk.start_timestamp = int(Time.get_unix_time_from_system())
discord_sdk.refresh()

Godot output

No errors output

Additional information

The DiscordSDKDebug node shows the values set but Discord does not register the game.
If I manually add the game to Discord a generic status is shown, but no Icon nor Rich Presence is shown.

Checks

  • I tried reinstalling the addon or tried to fix it myself with other methods.
  • I tried restarting Discord and Godot completely.
### What happened? Hello! While testing this plugin in Godot 4.2 RC2 this addon does not appear to work. Editor Presence Enabled has no effect, nor does any Rich Presence I attempt to add to my own project. ### Version 3.2 ### Godot Version 4.2-RC2 ### GDScript ```gdscript discord_sdk.app_id = myappid discord_sdk.details = "Jumpin' on friends" discord_sdk.state = "Playing %s" % GameManager.mode_info.name discord_sdk.large_image = "bigbroccoli" discord_sdk.large_image_text = "You're pretty cool!" discord_sdk.start_timestamp = int(Time.get_unix_time_from_system()) discord_sdk.refresh() ``` ### Godot output ```shell No errors output ``` ### Additional information The DiscordSDKDebug node shows the values set but Discord does not register the game. If I manually add the game to Discord a generic status is shown, but no Icon nor Rich Presence is shown. ### Checks - [X] I tried reinstalling the addon or tried to fix it myself with other methods. - [X] I tried restarting Discord and Godot completely.

the plugin is made for 4.1. It will release a quick update once 4.2 is out.

the plugin is made for 4.1. It will release a quick update once 4.2 is out.

still works with the current version but i will make a updated version soon
grafik

still works with the current version but i will make a updated version soon ![grafik](https://github.com/vaporvee/discord-sdk-godot/assets/80621863/a9d902b3-fde5-4eae-aeb9-842d2f30f240)
zolrath commented 2023-12-01 07:13:24 +00:00 (Migrated from github.com)

Tested with 4.2 as well just now and the Debug node displays the correct information, like you're showing for me but Discord does not pick up the Rich Presence. If I don't add the game manually nothing shows up in Discord, and if I add the executable myself it simply has a ?

image

	discord_sdk.app_id = myappidnotsureifthisshouldbeprivate
	discord_sdk.state = "Playing"
	discord_sdk.details = "Jumpin' on heads"
	discord_sdk.large_image = "bigbroccoli"
	discord_sdk.refresh()

The Editor Presence also does not show up in Discord.

Tested with 4.2 as well just now and the Debug node displays the correct information, like you're showing for me but Discord does not pick up the Rich Presence. If I don't add the game manually nothing shows up in Discord, and if I add the executable myself it simply has a ? ![image](https://github.com/vaporvee/discord-sdk-godot/assets/454563/dbb6ad34-9205-4ce6-8bb0-fbc515cc8700) ``` discord_sdk.app_id = myappidnotsureifthisshouldbeprivate discord_sdk.state = "Playing" discord_sdk.details = "Jumpin' on heads" discord_sdk.large_image = "bigbroccoli" discord_sdk.refresh() ``` The Editor Presence also does not show up in Discord.

yeah so it should work on 4.2 snd when the debug node shows up the correct information everything should work. maybe its your discord client? However maybe the update I'm working on right now will fix your issues

yeah so it should work on 4.2 snd when the debug node shows up the correct information everything should work. maybe its your discord client? However maybe the update I'm working on right now will fix your issues

also did you remove the app id like in the debug node or is that normal for you?

also did you remove the app id like in the debug node or is that normal for you?
zolrath commented 2023-12-01 07:26:22 +00:00 (Migrated from github.com)

I just blurred the image as I wasn't really sure if I should keep the appid private at all, but in reality I used the actual appid from discord.

I just blurred the image as I wasn't really sure if I should keep the appid private at all, but in reality I used the actual appid from discord.

oh i see

oh i see

any updates?

any updates?
zolrath commented 2023-12-05 08:29:53 +00:00 (Migrated from github.com)

Ah so you can't reproduce the results? I don't see any updated version of this released so I haven't tried it again. Is there an updated build?

Ah so you can't reproduce the results? I don't see any updated version of this released so I haven't tried it again. Is there an updated build?

could you give me the completely exact steps you did?

could you give me the completely exact steps you did?
nemene21 commented 2023-12-06 10:57:47 +00:00 (Migrated from github.com)

Same for me, making a thingy in godot 4.2, windows 10.
This is the debug scene, the app id and state are displayed correctly.
image
Buuuuuut, discord doesnt seem to register it :(
image

Same for me, making a thingy in godot 4.2, windows 10. This is the debug scene, the app id and state are displayed correctly. ![image](https://github.com/vaporvee/discord-sdk-godot/assets/73829851/6875bb5a-f994-40c9-acc6-4ef2470395e6) Buuuuuut, discord doesnt seem to register it :( ![image](https://github.com/vaporvee/discord-sdk-godot/assets/73829851/9290b73d-44f0-4bea-97ea-e55cb3b3ff11)

make another issue filling the template out correctly or i cant help you

make another issue filling the template out correctly or i cant help you

pushed an update tho

pushed an update tho
Sign in to join this conversation.
No description provided.