Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plugin unable to connect after Godot version change #18

Closed
RPicster opened this issue Apr 23, 2022 · 5 comments
Closed

Plugin unable to connect after Godot version change #18

RPicster opened this issue Apr 23, 2022 · 5 comments

Comments

@RPicster
Copy link
Contributor

  • OS: Windows 10

Describe the issue
When changing Godot versions (e.g. 3.4.4 > 3.5 or 3.4.3 > 3.4.4) the plugin seems to stop working.
I get the error message that the plugin is unable to connect to Steam.

Fix
What helped now for a second time was completely removing the plugin and deleting the directoy in addons - then doing a clean install.

@RPicster RPicster changed the title [BUG] Plugin unable to connect after Godot version change Apr 23, 2022
@samsface
Copy link
Owner

I think I know the issue.

When we run the game from Godot (so not launched from Steam), steam knows the appid by looking at the exe and seeing if there is a file named "steam_appid.txt" in the same directory as the exe.

The Steam section of the project settings actually creates this file during the import of the sdk dlls. So this file gets written into the install location of Godot. So is it possible that the new install is removing that file or maybe you're installing into a new directory with the version suffixed (e.g. C:/program files/godotv3.5 -> C:/program files/godotv3.6)

@RPicster
Copy link
Contributor Author

What you described was exactly the problem - I tested it again when changing version.
The question now is only how to communicate this "problem" effectively?

@RPicster
Copy link
Contributor Author

Ok, getting back here to document how I handle version changes now.
Like you said, the file is in the directory of the Godot version, so if I use a new version, the first thing I do is to copy over the steam_appid.txt file and everything works 😵

@samsface
Copy link
Owner

samsface commented Aug 6, 2022

Another person has hit this issue. Reopening and will close again once I've added an error/test message that the file is missing.

@samsface samsface reopened this Aug 6, 2022
@samsface
Copy link
Owner

Added a check that gives a better error message when that file is missing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants