[Bug/Crash]: Discord SDK fails to load GDExtension #44

Closed
opened 2023-11-30 15:34:46 +00:00 by ltecheroffical · 1 comment
ltecheroffical commented 2023-11-30 15:34:46 +00:00 (Migrated from github.com)

What happened?

When I installed the SDK I expected it to start and let me run it but when I installed it I just get errors saying "GDExtension dynamic library not found: /Users/.../Developer/Projects/Godot/.../addons/discord-sdk-gd/bin/macos/" and it doesn't load, I have no idea how to fix

Version

3.2

Godot Version

4.2

GDScript

N/A

Godot output

Can't open dynamic library: /Users/…/Developer/Projects/Godot/.../addons/discord-sdk-gd/bin/macos/libdiscord_game_sdk_binding_debug.dylib. Error: dlopen(/Users/.../Developer/Projects/Godot/.../addons/discord-sdk-gd/bin/macos/libdiscord_game_sdk_binding_debug.dylib, 2): Library not loaded: @rpath/discord_game_sdk.dylib
    Referenced from: /Users/.../Developer/Projects/Godot/.../addons/discord-sdk-gd/bin/macos/libdiscord_game_sdk_binding_debug.dylib
    Reason: image not found.
  core/extension/gdextension.cpp:719 - GDExtension dynamic library not found: /Users/.../Developer/Projects/Godot/.../addons/discord-sdk-gd/bin/macos/libdiscord_game_sdk_binding_debug.dylib
  Failed loading resource: res://addons/discord-sdk-gd/bin/discord-rpc-gd.gdextension. Make sure resources have been imported by opening the project in the editor at least once.

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.
### What happened? When I installed the SDK I expected it to start and let me run it but when I installed it I just get errors saying "GDExtension dynamic library not found: /Users/.../Developer/Projects/Godot/.../addons/discord-sdk-gd/bin/macos/" and it doesn't load, I have no idea how to fix ### Version 3.2 ### Godot Version 4.2 ### GDScript ```gdscript N/A ``` ### Godot output ```shell Can't open dynamic library: /Users/…/Developer/Projects/Godot/.../addons/discord-sdk-gd/bin/macos/libdiscord_game_sdk_binding_debug.dylib. Error: dlopen(/Users/.../Developer/Projects/Godot/.../addons/discord-sdk-gd/bin/macos/libdiscord_game_sdk_binding_debug.dylib, 2): Library not loaded: @rpath/discord_game_sdk.dylib Referenced from: /Users/.../Developer/Projects/Godot/.../addons/discord-sdk-gd/bin/macos/libdiscord_game_sdk_binding_debug.dylib Reason: image not found. core/extension/gdextension.cpp:719 - GDExtension dynamic library not found: /Users/.../Developer/Projects/Godot/.../addons/discord-sdk-gd/bin/macos/libdiscord_game_sdk_binding_debug.dylib Failed loading resource: res://addons/discord-sdk-gd/bin/discord-rpc-gd.gdextension. Make sure resources have been imported by opening the project in the editor at least once. ``` ### Additional information _No response_ ### Checks - [X] I tried reinstalling the addon or tried to fix it myself with other methods. - [X] I tried restarting Discord and Godot completely.
yeah on mac obviously https://github.com/vaporvee/discord-sdk-godot/wiki/Building#macos-support
Sign in to join this conversation.
No description provided.