FakeFishGames / Barotrauma

A 2D online multiplayer game taking place in a submarine travelling through the icy depths of Jupiter's moon Europa.
http://www.barotraumagame.com/
1.68k stars 393 forks source link

Received an update for an entity that doesn't exist, MISSING ENTITY #6265

Open mangochild opened 3 years ago

mangochild commented 3 years ago

Description We're playing multiplayer with my friends. After completing the "Destroy the Raptors nest" mission we have docked to the station and then I got kicked. After reconnecting the same error appears. Anything I can do with it by myself? I've linked save file, crashreports from the server and list of mods being used.

Steps To Reproduce Launch the game, connect to my friend's server certain server.

Version 0.14.6.0

Additional information Save File: save_file.zip

Crashreports: event_error_log_client_Магда_1853.log event_error_log_client_общество заботы_1856.log event_error_log_client_Магда_1847.log

Submarine: Ulysses 2.28

List of mods used: [ENV] Beacons Extended Artifacts extended BaroTech Expansion - Unstable Craftable Ammo Updated ExampleMod GunLights Remade Malborasek with Sound New Wrecks For Barotrauma RIBA Portable Items Shipwrecks Extended Smoke Til You Drop Sounds Of Europa STEM XanMonsters XanMonsters2

mangochild commented 2 years ago

Ok, it seems that The Sounds Of Europa is the cause. Removing the mod helped with this issue.

juanjp600 commented 2 years ago

Reopening as mods generally shouldn't be able to cause this, so there's still a bug we need to fix here.

Verazon commented 2 years ago

@Regalis11 solved yet, since I seem to be encountering similar issue too now.

cshingle commented 2 years ago

I am running into this issue on an %100 vanilla server. I ran Verify integrity of game files via steam after the first time I ran into this issue. This log and screenshot are after several restarts/attempts. Hopefully it includes something helpful. image event_error_log.log

I am running v0.16.7.0 on linux

esirprus commented 2 years ago

Recently this bug has always been accompanied by a similar format like this: [2022/4/21 下午5:17:15] Respawning everyone in main sub. [2022/4/21 下午5:17:15] Respawning player (58.212.74.21) as 安全官

R4to0 commented 2 years ago

Same here playing without any mods, when a player dies to a mudraptor the host session crashes with this same message.

image

One thing I noticed is that the mudraptor 'grabs' the player corpse and 'earns' 0 marks. Could be that at this point one of the player and/or npc entities were deleted already that the wallet system is trying to apply to a NULL object?

Mudraptor_hatchling grabbed Bingo's body and received 0 mk.

Event logs attached from both host and clients:

event_error_log_server_Bingo_0703.log event_error_log_client_Bingo_0703.log event_error_log_client_R4to0_0703.log event_error_log_server_R4to0_0703.log

mariotime1287 commented 2 years ago

Playing modded here, though neither mod is incompatible. The creators of both mods have assured me that nothing in their code should be causing this, and Videogames (developer of EK) assured me that it's on the end of the game instead. May also be related to #8899. Please do tell me if the issue is unrelated to this one. image

Mods being used: EK | Armory (https://steamcommunity.com/sharedfiles/filedetails/?id=1769403760) Enhanced Armaments (https://steamcommunity.com/sharedfiles/filedetails/?id=2764968387)

Steps to reproduce: Using both mods and starting a Steam P2P server will almost always cause the infamous missing entity error on round start, and end the round prematurely. Load order doesn't matter. Settings haven't shown any difference, either. The selected game mode doesn't seem to change much, either.

Logs (from myself, and the server itself) Server_2022-04-25_0845.txt event_error_log_client_mariotime1287_1245 PM.log event_error_log_server_mariotime1287_1245 PM.log

Feel free to ask for anything related to this, if it means it'll help you fix it.

EDIT: I forgot to check the "unstable" branch. Seems to work like a charm on that branch. I don't know if that fixes all instances of this bug, but regardless, well done!

SgtMustang commented 2 years ago

Same issue, happened twice in one night on 04/23. Related to Diving Suits on the Hemulen when a player respawns.

Doesn't seem to be anything particularly useful in the logs - just states the entity missing ID. event_error_log_server_SgtMustang (Slava Ukraini)_608 AM.log event_error_log_client_SgtMustang (Slava Ukraini)_608 AM.log

Regalis11 commented 1 year ago

Nilanth discovered a reliable way to get this error to occur, although it only happens when disconnecting and reconnecting to a modded server. Could still explain some of the recent error reports: https://github.com/regalis11/barotrauma/issues/9616