discord-rpc-godot: [Bug/Crash]: Editor Presence setting cannot be enabled

What happened?

When I turn on the Editor Presence setting and click on the “Save and Restart” button, the editor closes, does not start back up, and when I start it back up manually and open Project Settings, the setting has turned itself back off.

I expected the editor to start back up with Editor Presence enabled.

I tried reinstalling the addon and got a bunch of Parse Errors. The first time I tried to enable the setting the editor did reopen, even though the setting remained off, but after that first time it went back to failing in the same way.

Version

3.2

Godot Version

v4.1.1.stable.official

GDScript

# No files open

Godot output

Godot Engine v4.1.1.stable.official (c) 2007-present Juan Linietsky, Ariel Manzur & Godot Contributors.
  modules/gltf/register_types.cpp:73 - Blend file import is enabled in the project settings, but no Blender path is configured in the editor settings. Blend files will not be imported.
--- Debug adapter server started ---
--- GDScript language server started ---
Add Autoload

# When restarted after plugin was enabled again after re-installing

Godot Engine v4.1.1.stable.official (c) 2007-present Juan Linietsky, Ariel Manzur & Godot Contributors.
  modules/gltf/register_types.cpp:73 - Blend file import is enabled in the project settings, but no Blender path is configured in the editor settings. Blend files will not be imported.
--- Debug adapter server started ---
--- GDScript language server started ---
  gdscript://-9223370559637626267.gd:4 - Parse Error: Identifier "discord_sdk" not declared in the current scope.
  gdscript://-9223370559637626267.gd:7 - Parse Error: Identifier "discord_sdk" not declared in the current scope.
  gdscript://-9223370559637626267.gd:39 - Parse Error: Identifier "discord_sdk" not declared in the current scope.
  gdscript://-9223370559637626267.gd:39 - Parse Error: Identifier "discord_sdk" not declared in the current scope.
  gdscript://-9223370559637626267.gd:39 - Parse Error: Identifier "discord_sdk" not declared in the current scope.
  gdscript://-9223370559637626267.gd:39 - Parse Error: Identifier "discord_sdk" not declared in the current scope.
  gdscript://-9223370559637626267.gd:39 - Parse Error: Identifier "discord_sdk" not declared in the current scope.
  gdscript://-9223370559637626267.gd:39 - Parse Error: Identifier "discord_sdk" not declared in the current scope.
  gdscript://-9223370559637626267.gd:39 - Parse Error: Identifier "discord_sdk" not declared in the current scope.
  gdscript://-9223370559637626267.gd:39 - Parse Error: Identifier "discord_sdk" not declared in the current scope.
  gdscript://-9223370559637626267.gd:39 - Parse Error: Identifier "discord_sdk" not declared in the current scope.
  gdscript://-9223370559637626267.gd:39 - Parse Error: Identifier "discord_sdk" not declared in the current scope.
  gdscript://-9223370559637626267.gd:39 - Parse Error: Identifier "discord_sdk" not declared in the current scope.
  gdscript://-9223370559637626267.gd:39 - Parse Error: Identifier "discord_sdk" not declared in the current scope.
  gdscript://-9223370559637626267.gd:39 - Parse Error: Identifier "discord_sdk" not declared in the current scope.
  gdscript://-9223370559637626267.gd:39 - Parse Error: Identifier "discord_sdk" not declared in the current scope.
  gdscript://-9223370559637626267.gd:39 - Parse Error: Identifier "discord_sdk" not declared in the current scope.
  gdscript://-9223370559637626267.gd:39 - Parse Error: Identifier "discord_sdk" not declared in the current scope.
  gdscript://-9223370559637626267.gd:39 - Parse Error: Identifier "discord_sdk" not declared in the current scope.
  gdscript://-9223370559637626267.gd:49 - Parse Error: Identifier "discord_sdk" not declared in the current scope.
  gdscript://-9223370559637626267.gd:52 - Parse Error: Identifier "discord_sdk" not declared in the current scope.
  gdscript://-9223370559637626267.gd:55 - Parse Error: Identifier "discord_sdk" not declared in the current scope.
  gdscript://-9223370559637626267.gd:58 - Parse Error: Identifier "discord_sdk" not declared in the current scope.
  gdscript://-9223370559637626267.gd:62 - Parse Error: Identifier "discord_sdk" not declared in the current scope.
  gdscript://-9223370559637626267.gd:64 - Parse Error: Identifier "discord_sdk" not declared in the current scope.
  gdscript://-9223370559637626267.gd:67 - Parse Error: Identifier "discord_sdk" not declared in the current scope.
  Script does not inherit from Node: res://addons/discord-sdk-gd/nodes/core_updater.gd.
  editor/editor_autoload_settings.cpp:551 - Condition "!info->node" is true. Continuing.
Add Autoload

Additional information

No response

Checks

  • I tried reinstalling the addon or tried to fix it myself with other methods.
  • I tried restarting Discord and Godot completely.

About this issue

  • Original URL
  • State: closed
  • Created 8 months ago
  • Comments: 21 (11 by maintainers)

Most upvoted comments

the first 2 errors are normal thats why restarting is required but the third one i investigate when I’m home. but i will do an update soon where i will redo stuff i made in gdscript with gdextension/cpp that will hopefully run more reliable. Also i will make seperate nodes loaded in background instead of this weird single gdscript autoload.

Having the same issue on Windows 10 19045.3693. Godot 4.1.3

  1. Installed the plugin (tried from the AssetStore and manual install)
  2. Enabled the plugin, got a pop up prompting me to restart or save & restart in order to fully enable this plugin
  3. Restarted then went to settings and enabled editor rich presence
  4. Save and restart button did work
  5. Godot restarted
  6. Went to settings but editor rich presence is still set to OFF
  7. Enabled it again and restarted
  8. This time Godot does not restart by itself

I tried on a brand new project and the results are the same.

If I try to enable Editor presence again after that, this error pop-up in the output tab right after I enable it :

res://addons/discord-sdk-gd/nodes/core_updater.gd:17 - Invalid get index 'scene_file_path' (on base: 'null instance').