Dedicated server won't start is steam is not running

I have a dedicated server that only starts if steam is running. If steam is not running, I get:

[S_API FAIL] SteamAPI_Init() failed; SteamAPI_IsSteamRunning() failed.
Segmentation fault (core dumped)

If Steam IS running, I get this:

Setting breakpad minidump AppID = 65467
[00:00:08]: [Steam] SteamGameServer_Init success

And the server works

WHY or WHY does it require steam to be running? More importantly, how can I get a dedicated server to run if steam is not running?

you need to add the steam dlls in your cooked server folder, you can find them under UnrealEngineSource\Engine\Binaries\ThirdParty\Steamworks\Steamv139\Win64

Added to this you also need to add a file called steam_appid.txt with the steamID for your game, or just use 480 to test.
From my testings, it’s better not to have Steam on the computer running the server.
hope this helps


Well done.
I spent two weeks on this problem.
Thanks again.

So Place all the steam dlls in the project folder were your dedicated server exe is after you build the development server in VS?

you need to create a folder in your source folder Engine\Binaries\ThirdParty\Steamworks\Steamv139\Win64
There you copy all steam dlls you find at UnrealEngineSource\Engine\Binaries\ThirdParty\Steamworks\Steamv139\Win64