vaporvee / discord-rpc-godot

Discord RPC Plugin for GDScript with an easy-to-use code pattern in Godot Engine 4, with optional Editor Rich Presence! (Compatible with Linux, Windows, & MacOS)

Home Page:https://docs.vaporvee.com/discord-rpc-godot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Bug]: Does not display RPC in Discord Client

zolrath opened this issue · comments

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.

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

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.

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?

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

any updates?

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?

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

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

pushed an update tho