question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

SteamGameServer causing crash

See original GitHub issue

Hi,

got a new issue with updating to 9.0: Everytime we start a second game within the lifetime of our program (or the lifetime of Unity) the API stuff crashes in SteamGameServer code. Basically what we do for each game is:

GameServer.Init
SteamGameServer.InitGameServer
SteamGameServer.LogOnAnonymous
...
// Run game
// On stoppping the game:
SteamGameServer.LogOff
GameServer.Shutdown

This has been working just fine prior to today’s 9.0 update, now the second time we get to SteamGameServer.InitGameServer (I think that’s what translates to ISteamGameServer_InitGameServer?) we get an access violation.

Is this something with Steamworks.NET? Or Steam itself? Do you know anything about it or how to fix/work around it?

Regards, Chris

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
Alloc86commented, Mar 18, 2017

Only did a quick test so far but this seems to have resolved it. Can’t thank you enough 😃

0reactions
rlabrecquecommented, Mar 18, 2017

Awesome!

Read more comments on GitHub >

github_iconTop Results From Across the Web

SteamGameServer.InitGameServer() causes crash #60
Hi, I'm really struggling to register my game servers on the Steam masterserver. In the example repo they just call SteamGameServer.
Read more >
Game server not starting / Game server crashing - Support
If your game server is using up more memory than is available, it will crash. Try removing all save files. If your game...
Read more >
Suddenly crashes in the middle of local multiplayer.
Suddenly crashes in the middle of local multiplayer. We start a local multiplayer game with 2 or 3 players and the game works...
Read more >
Steam servers crash as users rush to download 122GB ...
Steam servers crash as users rush to download 122GB RPG on launch day. There were several reports of Steam outages yesterday, following the ......
Read more >
How To: Fix Internet Connection crashing when using server ...
Cheap games with instant email delivery: https://www.instant-gaming.com/igr/helpdapoorguy/. ***If you're looking for a URL or similar that I ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found