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

Latest SteamWorks.NET Run SteamApi.Init() failed on Debian-x64 #604

Open
BeanTang opened this issue Apr 12, 2024 · 1 comment
Open

Latest SteamWorks.NET Run SteamApi.Init() failed on Debian-x64 #604

BeanTang opened this issue Apr 12, 2024 · 1 comment

Comments

@BeanTang
Copy link

[S_API] SteamAPI_Init(): SteamAPI_IsSteamRunning() did not locate a running instance of Steam.
dlopen failed trying to load:
/root/.steam/sdk64/steamclient.so
with error:
/root/.steam/sdk64/steamclient.so: cannot open shared object file: No such file or directory
[S_API] SteamAPI_Init(): Sys_LoadModule failed to load: /root/.steam/sdk64/steamclient.so

(2024-04-12 16:47:22.1456) ERROR: [Steamworks.NET] SteamAPI_Init() failed. Refer to Valve's documentation or the comment above this line for more information.

But my project running path is such as /root/Apps/publish/

steam_appid.txt has already exist.It's success for windows。

And My linux platform is x64, build target also is x64 【I copy the source code for my project. My project define is AnyCpu】.

So, I use STEAMWORKS_LIN_OSX to build this project and publish , But it's not work in Linux x64 environment.

How should I solved the problem with this .sdk?Should i build for linux platform for steam sdk like "steam_api.dll" to solve it?

@JB0xc390cc
Copy link

JB0xc390cc commented Aug 28, 2024

This is not related to Steamworks.NET.
You just need a steam client up and running. Then this error message will go away probably.

And also you should be logged in as an user who is
a developer of the game which appid you use OR actually bought a game and has inside his game library

Also use SteamAPI_InitEx instead which can display error messages...

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