Open notpeelz opened 1 year ago
This is an issue we've known about for some time, but not exactly sure when/where we had this introduced or whats causing it.
There is a work around however, simply start the debug dedicated server outside of visual studio then attach the debugger in visual studio to the dedicated server process, It only seems to crash/terminate itself like this in debug if the debugger is attached specifically while its starting (Such as when it is launched in visual studio)
Using Visual Studio 2022 (17.6.3), if you try running the
WindowsServer
project with the debugger attached (with theRelease
orDebug
config, doesn't matter), the process crashes when callingsteam_api64.dll!SteamInternal_GameServer_Init
(exit code 1):The problem only seems to occur with a debugger attached. I haven't tested on other platforms or with other IDEs. If I had to guess, it's probably because the vendored copy of
Facepunch.Steamworks
is outdated.I've reproduced the crash on f95be0511c7d3326d747d79d9a71d0f491ca5bb6 and 6acac1d143d647ef10250364fe1e71039142539c