Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Client freeze after ragdoll removal #110
Steps to reproduce
Client crashes. Everything about the player entity is removed, however a player is still connected to the server. Unable to do anything (with exception). The only (easy) way to fix the crashed client/server state, is to restart client's GMod (hl2) process. (It is possible to recover without a client restart; requires hackery.)
Error(s) in player's console, if any
Console (extra) stuff
A player has been garbage collected in Lua, and removed by engine... So, my player is no longer valid:
But, using a
Removing an entity a player is observing has long been a known bug within GMod. We worked around the problem historically, but it looks like something about how the engine handles it has changed, and now it's worse than it was before.
We will address this, but it is not an urgent issue as originally marked; deleted players are unable to issue commands, and it is in theory difficult for a player to remove themselves in the first place.
Quick (dirty) way for fixing it: