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)
https://docs.vaporvee.com/discord-rpc-godot
MIT License
198 stars 10 forks source link

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

Closed ltecheroffical closed 11 months ago

ltecheroffical commented 11 months ago

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

vaporvee commented 11 months ago

yeah on mac obviously https://github.com/vaporvee/discord-sdk-godot/wiki/Building#macos-support