samsface/godot-discord-game-sdk

Crashes on open

Closed this issue · 1 comments

When I run the game, it crashes with these errors:

E 0:00:01.910 open_dynamic_library: Can't open dynamic library: C:/Users/djcook/Documents/Soccer Game/addons/discord_game_sdk/discord-game-sdk-godot.dll, error: Error 126: The specified module could not be found.
.
<C++ Error> Condition "!p_library_handle" is true. Returned: ERR_CANT_OPEN
<C++ Source> platform/windows/os_windows.cpp:2353 @ open_dynamic_library()

E 0:00:01.915 get_symbol: No valid library handle, can't get symbol from GDNative object
<C++ Source> modules/gdnative/gdnative.cpp:510 @ get_symbol()

E 0:00:01.921 init_library: No nativescript_init in "res://addons/discord_game_sdk/discord-game-sdk-godot.dll" found
<C++ Source> modules/gdnative/nativescript/nativescript.cpp:1510 @ init_library()

E 0:00:01.938 init_library: does not have a library for the current platform.
<C++ Error> Condition "lib_path.length() == 0" is true.
<C++ Source> modules/gdnative/nativescript/nativescript.cpp:1486 @ init_library()

Never mind, I did not extract the Discord SDK into the correct folder. 🤦‍♂️