samsface / godot-steam-api

Godot Steam integration using GDNative.
400 stars 16 forks source link

godot v3.5 wont read steamsdk-godot.dll #45

Open ZombieByte1 opened 9 months ago

ZombieByte1 commented 9 months ago

When I try to use the addon, after I set up everything and try to run Steam.is_init() I get this error

error

This happens even if I export the project and I already created the text file next to the exe of my game that contains the appid. error2

To me seems like for some reason godot is not reading the dll file. Here's what happens if I run the game in the editor error3 error4 error5

I've been trying to make this plugin work for a few days with no luck. Hope you can point me into the right direction. Cheers!

samsface commented 9 months ago

Looks like the latest SteamSDK has a breaking change in its API. So need to do a new build.

samsface commented 9 months ago

@ZombieByte1 Download the latest version of the SDK from this repo and try again. I've rebuilt the library linking against the latest Steam SDK.

Please report here if the issue is resolve or not. Thanks.

grahamwgordon commented 9 months ago

hello! this issue seems to still be present for OSX. i got these kind of error messages today:

modules/gdnative/gdnative.cpp:510 - No valid library handle, can't get symbol from GDNative object
 modules/gdnative/gdnative.cpp:417 - No valid library handle, can't terminate GDNative object
 Can't open dynamic library: /Users/<path to game>/addons/steam_api/libsteamsdk-godot.dylib, error: dlopen(/Users/<path to game>/addons/steam_api/libsteamsdk-godot.dylib, 0x0002): Symbol not found: _SteamAPI_Init
  Referenced from: <1F6AD6E8-E981-3E60-8271-15F765680B69> /Users/<path to game>/addons/steam_api/libsteamsdk-godot.dylib
  Expected in:     <FCA03022-80D7-3C01-9D12-42B887A94E65> /Users/<path to game>/addons/steam_api/libsteam_api.dylib.

please let me know if any additional information would be helpful.

middlepattern commented 4 months ago

I'm getting his issue too now