Skip to content
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

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

Closed
2 tasks done
zolrath opened this issue Nov 28, 2023 · 13 comments
Closed
2 tasks done

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

zolrath opened this issue Nov 28, 2023 · 13 comments
Assignees
Labels

Comments

@zolrath
Copy link

zolrath commented Nov 28, 2023

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.
@zolrath zolrath added the bug Something isn't working label Nov 28, 2023
@vaporvee
Copy link
Owner

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

@vaporvee
Copy link
Owner

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

@zolrath
Copy link
Author

zolrath commented Dec 1, 2023

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.

@vaporvee
Copy link
Owner

vaporvee commented Dec 1, 2023

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

@vaporvee
Copy link
Owner

vaporvee commented Dec 1, 2023

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

@vaporvee vaporvee reopened this Dec 1, 2023
@zolrath
Copy link
Author

zolrath commented Dec 1, 2023

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.

@vaporvee vaporvee changed the title [Bug]: Does not support Godot 4.2 RC2 [Bug]: Does not display RPC in Discord Client Dec 1, 2023
@vaporvee
Copy link
Owner

vaporvee commented Dec 1, 2023

oh i see

@vaporvee
Copy link
Owner

vaporvee commented Dec 4, 2023

any updates?

@zolrath
Copy link
Author

zolrath commented Dec 5, 2023

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?

@vaporvee
Copy link
Owner

vaporvee commented Dec 5, 2023

could you give me the completely exact steps you did?

@nemene21
Copy link

nemene21 commented Dec 6, 2023

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

@vaporvee
Copy link
Owner

vaporvee commented Dec 6, 2023

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

@vaporvee
Copy link
Owner

pushed an update tho

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants