#Game crashed, Respawned at starting location, All HDDs dissapeared from every computer in save game.

1 messages · Page 1 of 1 (latest)

uncut girder
#

Please implement a proper save game system, do at least 3 backups 10 minutes apart or something.
Now game corrupts save game and there's no way to fix it...

I was in the mountains with rover, mining aluminum.
Was scanning with "Color Ore Scanner" script from workshop, then the game crashed.
Loaded back in, no inventory and i was at original spawn location when you start a new game.
Teleported to my entities via F4 and all computers had HDDs missing.

All code is still in save file system, but no easy way to plug them back in.

Please fix these critical game breaking bugs before adding features.

Simple autosave feature with few save games staggered every 10 minutes would fix this.
Now save game is unrecoverable.

rough sail
#

@uncut girder We will need more information on this... you are the first person to come forward with this issue.
The game automatically saves every 30 seconds already, and we've had no report of a corruption/lost data before.
Could it be something with your computer? HDD issues for instance...
Also crashes are very rare (like non-existent) especially random crashes... but a HDD issue would explain a random crash.
It is possible that it's a bug but we need more info and a way to reproduce it.
Can you provide a copy of your world's zip file and exact steps to reproduce?

uncut girder
#

I wasnt doing anything too interesting for steps to reproduce.
I've been using "Color ore scanner" script from workshop to scan for ores around me while my rover was mining.
Then game crashed, maybe it crashed while it was saving, thats why save file got corrupted.

When I started game back up, I spawned in original area when you make a new game with my inventory gone, then I teleported to my entities via F4 and found that all computers had HDDs missing.

I then explored save file and all HDD folders with code are still there, but they are not in computers ingame. Attached my corrupted world file.

#

It doesnt matter why save got corrupted, having backups in such building games is a must. Its nor hard to implement, just copy save folder every X minutes, keep Y copies, add datetime to folder name, let players chose which autosave to load from launcher. I've made myself a python script for now, because I really like this game

rough sail
#

@uncut girder Looking at your saved world, we can confirm that it’s corrupted… there’s a long row of null butes in all inventory files as well as the avatar save file.
When the game saves your world (every 30 sec), it opens and writes in all these files, sequentially, one by one.
If it crashed while saving something, it would have corrupted only one file… this is not the case here.
Also, the avatar save file is a plain text (ini) file and was properly written after those null bytes.
What wrote these null bytes is a big mistery to us…
I would strongly recommend you check your hard drive for errors.. and possibly it is starting to fail… Do you have SMART enabled in your bios?
Also, are you storing it in a HDD or SSD?

uncut girder
#

I had no issues with anything else regarding my SSD so far, no weird behaviour from any other software and I do keep all my games and many other software on this disk.

Even if it was my HW fault, still be nice to have some autosave settings in game, that's just another part of protecting peoples progress, no matter how things get corrupted. You have pretty optimized save game files, so it wouldn't be an issue storing few backups, its just some file manipulation. I have my pyton script for now anyways, so Im safe now 🙂

#

Overwriting one save file is not really good practice

old jolt
#

Actually null bytes can happen when specific file structure information cannot be written properly by operating system. Particularly SSDs fail that way when overstressed by either filling it to the capacity limit with data or being aged. Pagefile.sys is also a file on a SSDs. So if that gets corrupted there is one possibility of random crashes.

a good rule for SSD handling is: Never fill it much beyond the 66% mark.

radiant dew
# old jolt Actually null bytes can happen when specific file structure information cannot b...

The new NVMe's are meant to be filled to the brim though.

They're making enterprise servers with no more hard drive bays, just NVMe bays.

To the point of this report, @rough sail I can confirm there is a random CDT. I've not yet to be able to put my finger on it but this may offer a clue:

Once I relaunch the game (the launcher doesn't crash) there are no more wind effects around the plane that it always crashes in.

It's happened 3x now and thankfully autopilot was engaged each time. But when I came back in, in spite of the thing cruising at mach 0.8, there were no atmospheric visuals around the craft as they're usually is. In order to get it back I have to completely close the launcher, first.

This is random and I've yet to be able to reliably reproduce it except just flying around in my plane. I've flown the thing for about 24 hours since I first noticed the crash trying to pin down if it is terrain, distance from other players, etc.. No luck yet but I'm still testing.

Maybe the visual issue will give a clue to where the crash is - usually when odd things like that happen they offer clues 🙂

I'm not entirely sure if this crash is related as the report seems to indicate a server-side crash (even if running locally in single player) where our servers (any of them) have yet to crash.

old jolt
#

It highly depends on the manufacturer of said SSD how much over capacity sits hidden behind the controller block of the SSD

#

The more filled it is the faster the wear goes

old jolt
radiant dew
# old jolt Enterprise NVMe SSDs might be that way but not many consumers buy these for thei...

It is a new feature called Flexible Data Placement (FDP), which intelligently allocates data based on access frequency. Frequently used data is placed in faster areas, while less critical data goes to slower regions. This reduces the Write Amplification Factor (WAF), meaning less data needs to be moved around, which in turn reduces wear and extends the lifespan of the SSD very dramatically at high capacity.

old jolt
radiant dew
#

Hidden over-provisioning isn't needed any more. Modern SSDs use advanced algorithms and technologies like intelligent dynamic SLC caching and flexible data placement to manage data without it (and without loss of longevity).

old jolt
radiant dew
old jolt
radiant dew
# old jolt If the SSD spec is meant to support that by manufacturer be my guest to fill it....

Right, but the newer ones out there aren't as reliant on over-provisioning as they used to be. Again, we're putting these things in severs and filling them up because we have assurances from the MFG's. I did not want to make the transition from reliable spinners to SSD/NVMe's, but I was convinced by an employee just coming out of a tech institute that knows about the new tech far better than I do (he can build it himself lol).

In fact, they've gotten good enough, that a NVMe filled to 99% capacity has about the same life expectancy as a mechanical. The only diffrence is, the mechanical doesn't usually give any warnings when it's reaching it's end of life like a SSD does with slower writes - it just... dies lol.

old jolt
#

That is why I know what the SSD controller does internally and requires. But I think you got the point that I am looking on a lower level of SSDs as well.

radiant dew
#

I don't know if it needs to be said... But it's FAST 🤣

One of our customers is the NC Court system. They needed a solution to query data as fast as possible.

#

Will say one other thing: With nvme speeds exceeding 7,000mbps, we're starting to blur the line between RAM and persistent storage. Mark my words, in 10 years, RAM will no longer be necessary 😛

#

Here you go, 20 nvme raid lol

#

I think that is raid 7, 3 nvme's for pairity.

old jolt
#

that reads like an enterprise level NVME because I know that manufacturer.

radiant dew
#

It's just reading the raid controller.

old jolt
#

Yeah it is one of the enterprise level manufacturers and who buys that surely does not put cheap NVMe SSDs below

radiant dew
#

No... But that's what I was saying to begin with 😛

But that's 1.5 year old tech, that's hitting consumer markets by now.

old jolt
radiant dew
#

I have 3 Lenovo Legion Laptops in this house. As each one arrived, I had already ordered (and had delivered) the replacement NVMe for it lol.

Prebuilts are really bad for having great cpu's, great GPU's, etc but utter crap for ram and storage. You are correct on that.

It's part of the marketing scheme though. They're selling FPS, not data rates. So they budget 80% for the board/chips and less than 10% for the storage and ram.

old jolt
#

That is the reason for my statement about not max filling a SSD. Besides pagefile.sys neither likes a max filled system drive either.

#

I neither cheap out on SSDs. You entrust own data to those besides having a backup. But backup and Murphy are not so "good" friends usually.