GodotSteam: "Can't open dynamic library. No nativescript_init in "res://addons/godotsteam/win64/godotsteam/win64/godotsteam.dll" found"

Describe the bug On one of my computers the GodotSteam plugin works with no problem and I can verify this by having tested activating/deactivating achievements. On my other computer however, the exact same project crashes with the errors below which means that the steam game can only launch on some computers but not others with GodotSteam enabled.

open dynamic library: Can't open dynamic library: "/addons/godotsteam/win64/godotsteam.dll, error: Error 126: The specified module could not be found get symbol: No valid library handle, can't get symbol from GDNative object init_library: No nativescript_init in "res:/addons/godotsteam/win64/godotsteam.dll" found

To Reproduce Install the GodotSteam GDNative plugin and run the project after adding a valid SteamAppId and SteamGameId. However, it doesn’t happen on all computers.

Expected behavior The project should not crash with the errors above when you launch it.

Desktop On the computer where it’s working: Windows 11 On the computer it’s not working: Windows 10 I have no more computers to verify if this may have something to do with it or is irrelevant.

Version of Godot: 3.5.0

Version of GodotSteam: I’m using the plug-in. Version 3.21.3. If I try to use the modules instead I still get the problem.

Additional context Any ideas would be helpful, I’m getting quite stuck on this.

About this issue

  • Original URL
  • State: closed
  • Created 8 months ago
  • Comments: 23 (15 by maintainers)

Most upvoted comments

@Vennnot I decided after having set everything up to make a tutorial on godot + steam because I think it would be useful if there was some more learning resources on it. One thing I’m showing is how to setup godotsteam using the precompiled module version. So if you’re still stuck that should solve it for you, since I had the same issue https://www.youtube.com/watch?v=J0GrG-AffCI

Yes, thank you. I forgot to reply. Thank you for the hard work everyone.

Annnnnnnnnnd GDExtension ones went up!

Same issue occurring for me on Godot 4.1.3 stable. With the version downloaded from the asset library. Tried deleting and reinstalling several times to no avail. The file exists but I don’t know what else to do. Device is windows 11 and I was exporting from a bash script. I tried running --export-release and --export-debug with the preset empty as described in the documentation.

Please advise.

image

Ayyyyy! Glad it is working! The pre-compiled modules always do.

That being said, I still need to figure out what plug-in thing and if it is really isolated. I assume that it is because otherwise someone else would have brought this up, as they always do. I will try a VM of Windows 10 and see what I can see.

It works perfectly now, using the pre-compiled modules. I’m using this one specificly: https://github.com/CoaguCo-Industries/GodotSteam/releases/tag/g35-s155-gs3171 Horray!

At least it may be useful info that if someone uses a plugin version of godotsteam, some computers may not be able to launch the game from steam or the editor afterwards caused by the error above