samsface / godot-steam-api

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

Exported Release cannot connect to Steam #2

Closed DaisyGames closed 2 years ago

DaisyGames commented 3 years ago

I exported my game as a release and when I launch it, it doesn't connect to Steam, so the Steam API integration stops working. When I ran the game from Godot editor, it worked fine.

Another to thing to note is that when I upload it the build to Steam and launch it from there, it works fine.

samsface commented 3 years ago

Right, you need create a file named "steam_appid.txt" with just the steam app id inside and save it beside the exported exe of your game. Will add this to readme. This is how steam works with debug builds. But fine to publish to steam without this file.