Game Breaking Error - Incorrect Region File Header and Invalid Region File Name

artisticspider

New member
Seems we aren't alone in this by searching, but my girlfriend and I were on day 21 about an hour before dead time when she (the server creator) suddenly couldn't move. The timer was going and I could still interact a bit or so it seemed, but I had her force exit the game. When reloading the file, we both were in our base, but an entire side wall was gone (including chests, crafting, chemistry table) and many of our spikes/barbed wire. I punched some newly grown grass under our feet and we tried to load in again after a restart. It wouldn't even try to load. 

In order of events, here are the log files. 

Pre-Crash Log: https://pastebin.com/mnPfwH1M
Open game and witnessing the blocks disappearing: https://pastebin.com/48P9TzN5
After punching grass, exiting, and attempting to reload: https://pastebin.com/bBsBMZ6j

We deleted the 3 files in the error: 
C/USERS/enforcer/appdata/roaming/7daystodie/saves/rixogutu valley/coronary artery bypass graft/region/error_backup_-24_46.comp.bak
"" /error_backup_-24_46.uncomp.bak
"" /r.-1.1.7rg

and although the game loads, our entire base and every single thing we did is gone, though our characters are at least playable. Trees we planted in the distance are still there.

Any help would be much appreciated!
 

 
Last edited by a moderator:
It wouldn't even try to load.


although the game loads
Which of these is correct?

Sorry for your issues, but you get 5 stars for best game name award.
If you don't have a backup, then sadly, that base is gone. You can cheat
yourself in some materials to rebuild it using the Creative Menu. And you
can use the same to replace your lost inventory.

As to the crash, there's an indication in the second log that access is blocked,
which would mean you should add exclusions in Windows Security for the

Game and Save folders. On both machines.

Other possibilities are hard disk full or disk has errors, check for free space
on your drive and run chkdsk on the drive to check for errors.

In the future, I'd recommend making a backup of your saves folder after
each playthrough. It's pretty easy to right click on the folder and select
Send To: Zipped (compressed) folder, which will make a zip file of the entire
folder.

There was a mod that did this in A21, but it has yet to be updated to V1.0
Maybe soon.
 

Add Exclusions.jpg

If you're using a different antivirus, add the exclusions in that app.

Use your folder paths of course.

 
Thank you for the logs. I see in your second log there was an error with the dew collector.

InvalidCastException: Specified cast is not valid.
at XUiC_DewCollectorWindowGroup.OnClose () [0x0003f] in <40e9b6e9762f43cf836123d0f549ad32>:0
at XUiWindowGroup.OnClose () [0x00023] in <40e9b6e9762f43cf836123d0f549ad32>:0
at GUIWindowManager.Close (GUIWindow _w, System.Boolean _fromEsc) [0x0000f] in <40e9b6e9762f43cf836123d0f549ad32>:0
at GUIWindowManager.Close (System.String _windowName) [0x00016] in <40e9b6e9762f43cf836123d0f549ad32>:0
at XUiC_DewCollectorWindowGroup.CloseIfOpenAtPos (Vector3i _blockPos, XUi _xuiInstance) [0x00031] in <40e9b6e9762f43cf836123d0f549ad32>:0
at XUiC_DewCollectorContainer.LocalTileEntity_Destroyed (ITileEntity te) [0x0001c] in <40e9b6e9762f43cf836123d0f549ad32>:0
at (wrapper delegate-invoke) <Module>.invoke_void_ITileEntity(ITileEntity)
at TileEntity.OnDestroy () [0x00008] in <40e9b6e9762f43cf836123d0f549ad32>:0
at BlockDewCollector.OnBlockRemoved (WorldBase world, Chunk _chunk, Vector3i _blockPos, BlockValue _blockValue) [0x00021] in <40e9b6e9762f43cf836123d0f549ad32>:0
at Chunk.SetBlock (WorldBase _world, System.Int32 x, System.Int32 y, System.Int32 z, BlockValue _blockValue, System.Boolean _notifyAddChange, System.Boolean _notifyRemove, System.Boolean _fromReset, System.Boolean _poiOwned, System.Int32 _changedByEntityId) [0x000b5] in <40e9b6e9762f43cf836123d0f549ad32>:0
at ChunkCluster.SetBlock (Vector3i _pos, System.Boolean _isChangeBV, BlockValue _bv, System.Boolean _isChangeDensity, System.SByte _density, System.Boolean _isNotify, System.Boolean _isUpdateLight, System.Boolean _isForceDensity, System.Boolean _wasChild, System.Int32 _changedByEntityId) [0x002c5] in <40e9b6e9762f43cf836123d0f549ad32>:0
at GameManager.ChangeBlocks (PlatformUserIdentifierAbs persistentPlayerId, System.Collections.Generic.List`1[T] _blocksToChange) [0x00332] in <40e9b6e9762f43cf836123d0f549ad32>:0
at NetPackageSetBlock.ProcessPackage (World _world, GameManager _callbacks) [0x00097] in <40e9b6e9762f43cf836123d0f549ad32>:0
at ConnectionManager.ProcessPackages (INetConnection _connection, NetPackageDirection _disallowedDirection, ClientInfo _clientInfo) [0x000f0] in <40e9b6e9762f43cf836123d0f549ad32>:0
at ConnectionManager.Update () [0x000a1] in <40e9b6e9762f43cf836123d0f549ad32>:0


We have a forum bug report on it as well. Do you recall anything odd happening with your dew collectors?



Unfortunately it leads to chunk corruption issues. 

Luckily we have a fix in our internal builds that should resolve this.

Edit: fix for this should be in the 1.1 experimental build

 
Last edited by a moderator:
We deleted the 3 files in the error: 
C/USERS/enforcer/appdata/roaming/7daystodie/saves/rixogutu valley/coronary artery bypass graft/region/error_backup_-24_46.comp.bak
"" /error_backup_-24_46.uncomp.bak
"" /r.-1.1.7rg


Ohhh so the whole world breaking on the next reload was linked to this, good to know. Yeah I had the same error with those files and just removed them. It reset the area but at least my level and inventory survived, didn't wanna have to go through the initial grind again lol. Glad it wasn't my fault, my friends were blaming me for working on my mod in between play sessions.

 
NekoPawtato said:
 Do you recall anything odd happening with your dew collectors?
Thanks for the responses! Sorry I've been away on a cruise and am just now seeing this. I don't remember anything weird happening with them that I can recall, honestly. We tend to pick them up on hirde night so they don't get destroyed and then replace them at morning, but as far as I know everything was working ok. I'll be honest I'm saying I didn't look very hard though. Just didn't receive any pop up errors on it since we both were just frozen in place before I had to force exit.

(Update from my girl: she said that I was picking one up while she was removing the mods from the other so I could grab that one. That's when things went wonky within a few seconds)

Glad to see patches popping up so quickly! I think we will download that experimental build (if available) and will be using the Creative Menu to rebuild our base today now that I'm back and continue on our adventures. I'll give some updates if anything were to happen again. 

Beelzybub said:
Which of these is correct?
 


Sorry if it was unclear! Yeah after the initial freeze crash, we were able to load up. That's when everything was gone. I punched some grass away and we tried to reload. That's when it wouldn't even try to load without error. (Wasn't sure if this is what caused it to totally fail loading that game because maybe there had been a mix of old base data and then I changed newly spawned ground data under our feet) 

That's when we moved those bad files it found out of our directory and were able to load again, but the entire chunk that the base was on was gone. 

Thanks for the heads up on the other points about exclusions in the Windows Security. We will do this today as well 😎

Also: Game name award goes to my girlfriend because that was her doing. She's about to finish her nursing school so she tends to puke up health phrases occauonally, lol. My last one was DrDildosPlayhouse, which I thought would deter friends from trying to enter our game, but I have weird friends apparently. 

 
Last edited by a moderator:
Back
Top