Barotrauma icon indicating copy to clipboard operation
Barotrauma copied to clipboard

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

Open mangochild opened this issue 4 years ago • 10 comments

  • [x] I have searched the issue tracker to check if the issue has already been reported.

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 avatar Jul 06 '21 19:07 mangochild

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

mangochild avatar Jul 18 '21 07:07 mangochild

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

juanjp600 avatar Jul 18 '21 14:07 juanjp600

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

Verazon avatar Mar 09 '22 16:03 Verazon

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

cshingle avatar Mar 18 '22 01:03 cshingle

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 安全官

esirprus avatar Apr 21 '22 10:04 esirprus

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

R4to0 avatar Apr 25 '22 07:04 R4to0

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!

mariotime1287 avatar Apr 25 '22 12:04 mariotime1287

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

SgtMustang avatar Apr 29 '22 16:04 SgtMustang

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

Regalis11 avatar Jul 21 '22 10:07 Regalis11

Had the same error, so i did everything i can to research this issue as i was able to replicate it easily for now.

About something that i found:

  1. This issue is very hard to replicate.

  2. Multiplayer only issue. Has appeared only on round start (Probably sync issue)

  3. It somehow related to beacons, wrecks and other round-specific structures. (Probably only for my case)

There aren't a lot of logs when hosted in non-dedicated server.

After i hosted on a Dedicated server instead of In-game hosting, i got a better stacktrace of a issue.

(ZIP CONTAINS: config_player.xml, multiplayer save and it's CharacterXML (Trauma Team), error logs of both players, config_player.zip

Problem with this issue isn't about replication, for me it's about debugging this issue (Multiplayer only for 2 players active only, hard debugging and a strange error)

SimobiSirOP avatar Nov 18 '25 18:11 SimobiSirOP