Linux EndOfStreamException: Attempted to read past the end of the stream.

Big_Willy

Refugee
Version
2.1
Platform
Linux
After a scheduled restart, the following error occurred, after which the server would not load further:
EndOfStreamException: Attempted to read past the end of the stream.
at PooledBinaryReader.FillBuffer (System.Int32 _numBytes) [0x00030] in <06d52532c42f4d48b89b09a583905b6f>:0
at PooledBinaryReader.ReadUInt64 () [0x00000] in <06d52532c42f4d48b89b09a583905b6f>:0
at DecoObject.Read (System.IO.BinaryReader _br) [0x00000] in <06d52532c42f4d48b89b09a583905b6f>:0
at DecoManager.Read (System.IO.BinaryReader _br, System.Int32 _version, System.Boolean _resetExisting) [0x0001f] in <06d52532c42f4d48b89b09a583905b6f>:0
at DecoManager.TryLoad () [0x00051] in <06d52532c42f4d48b89b09a583905b6f>:0
at DecoManager+<OnWorldLoaded>d__36.MoveNext () [0x00239] in <06d52532c42f4d48b89b09a583905b6f>:0
at UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) [0x00026] in <bbfcdb8e91a44ae79d53e845fd06b4b5>:0
It looked like version 2.0.
 
Reproduction Steps
1
Link to Logs
https://jpst.it/4tqfW
Link to Screenshot/Video
https://prnt.sc/SBxOUiKRbPOl
Today I did a wipe. I installed the Nevazgan map. And it happened again, I didn't even have time to appear in the world for the first time.

Maybe I created this ticket in the wrong topic. If possible, please have a moderator move it to the Game Support topic.
 
Yeah, this should go into the Game Support section, but it's alright. Someone might move it. I took a peek at your logs and what struck me first is that you have a lot of mods that are meant for different versions of the game.
 
Last edited:
Yeah, this should go into the Game Support section, but it's alright. Someone might move it. I took a peek at your logs and what struck me first is that you have a lot of mods that are meant for different versions of the game.
This. Have you removed all mods and does vanilla have the same behavior? I bet Q&A will not spend time or resources debugging your mods.
 
Still having issues @Big_Willy ?
2026-01-16T07:15:15 80.999 INF [Discord] CreateOrJoinLobby: 80.242.59.131_F00CC33E6EEE944285785F267E5730E7, session=61999ce77e5a4bbba7921a9db83e3f02, platform=EOSCan not play a disabled audio sourceCan not play a disabled audio source2026-01-16T07:15:15 81.213 INF OpenSpawnWindow2026-01-16T07:15:15 81.242 WRN Parameter 'IsMale' not found in animator2026-01-16T07:15:15 81.251 WRN Parameter 'IsMale' not found in animatorCan not play a disabled audio source2026-01-16T07:15:17 82.320 WRN [MapChunkDatabaseByRegion] Failed to load region (5, -5) from 'C:\Users\ahozi\AppData\Roaming\7DaysToDie\SavesLocal\7B6BDEFEA4B3BF448DE9F6112F532A0C\Player\EOS_000221ffdfe14bbd8352cbc98dfcd39f\r.5.-5.7rm': System.IO.EndOfStreamException: Attempted to read past the end of the stream. at PooledBinaryReader.FillBuffer (System.Int32 _numBytes) [0x00030] in <2535b88e54944baa8d45436662eca413>:0 at PooledBinaryReader.ReadUInt16 () [0x00000] in <2535b88e54944baa8d45436662eca413>:0 at MapChunkDatabaseByRegion+RegionData.Load (System.String regionFilePath) [0x00051] in <2535b88e54944baa8d45436662eca413>:0 at MapChunkDatabaseByRegion.Load (System.String rootDirectory) [0x0009c] in <2535b88e54944baa8d45436662eca413>:0 2026-01-16T07:15:44 109.699 INF GMSG: Player 'darkMen' left the game
 

Attachments

Hmm, definitely corruption, perhaps it was hit by the apiary bug? The fix won't, sadly, repair the corrupted chunks. You can use the region reset command to rebuild them though, yours look to be 5, -5 and 6, -6. You'll want to use the force switch (help rr for the list) to bypass protections if there are land claims/bedrolls if needed. If that doesn't work... last resort is to delete those regions from the save. You will want to use the rr command on those two regions after you do that though (after loading them), to make sure the data is correct as far as the chunk/region managers/other systems that rely on that data.
 
Back
Top