한국어English日本語简体中文繁體中文DeutschไทยTiếng ViệtРусскийPortuguês (Brasil)EspañolBahasa Indonesia

Game Lag White Paper › Problems only some players hit

Missed despawn message (ghost entity) Missed despawn (ghost entity)

Cause ID pt-ghost · Primary owner Game team (Server development) · Also Game team (Client development)

Open the interactive card with figures and simulations →

The reverse case: if the “it’s gone” message is missed, NPCs or players that already died or left stay on your screen only.

Why Death, leave, or out-of-view messages are lost or arrive out of order → Effect The client thinks the entity is still there → On screen A monster that doesn’t react when hit, a player who already left still standing there

Symptoms
Invisible / ghost entities
Factors
Packet loss
Who’s affected
One client on the same PC, Just me
When
Randomly, When crowds gather
Owner
Primary owner Game team (Server development) · Also Game team (Client development)
Game team action items
Server: periodically send the “currently visible list.” Client: remove entities not on the list, hide entities that should be moving but haven’t updated in a long time.
On the graph
Random spikes · Entities that exist only on the client
Where to look
The server’s “currently visible list” compared with the client’s entity list, counting entities that exist only on the client, and despawn message send and receive logs matched by entity ID
Confirmed if
The server sent the ghost entity’s despawn message but the client has no record of receiving it, or the despawn arrived before the spawn and the order is reversed
Ruled out if
The entity is still on the server’s visible list too: the server failed to clean up the entity. Right after a new entity appeared with the same ID: entity ID reuse mix-up
Check with
Game server or client logs and metrics

Sources

  1. Actor Relevancy in Unreal Engine Epic Games
    Dynamic actors that are no longer relevant are deleted on the client
  2. Object visibility (Netcode for GameObjects 2.5) Unity
    When an object is hidden, that client despawns and destroys it

See also

Same layer: Problems only some players hit

Same symptom (Invisible / ghost entities), other layers

View the interactive card with figures and simulations