[1658] On Load, assert in store.cpp

I’ve had some success deleting the newest save from that folder.

If you’ve made good progress, you could try sorting them by ‘date modified’ and deleting the newest one, then load up the previous save the next time you play SH.

I’ve also been saving twice before I exit, nowadays, so that when I delete the newest save I have an identical one to load. It’s worked 2/2 times I’ve gotten the Assertion Failed error this past month (I used to delete the whole folder before)

Upon loading a game the loading stops and the following error occurs:

Stonehearth Assertion Failed: id(…\source\dm\store.cpp:38)

(I have a screen cap, but I’m not allowed to upload that)

This is ALPHA 6

@Relyss @caster12 i have the same problem and i deletedd the saved file folder and started a new game and it opened.

1 Like

Hello,

I am playing the steam version (A6). I was unable to start the game in fullscreen, so after installing, uninstalling, reinstalling etc, I finally went into the .json file and changed “fullscreen” to false. I was able to get into the game after that, but when I went to continue an existing game, I got an assertion failure dialog box.

The error said “Assertion Failed: obj.IsValid()(…\source\dm\store.cpp:420)”

Ok, I went through the same steps and was able to start the game with a new world, just fine. Maybe this is a save game incompatibility issue.

1 Like

I’ve been having this problem as well on the Steam latest branch (A6)

Edit: It doesn’t seem to happen every time

2 Likes

My experience with this bug is that when I create a new game, I can save and load it a couple times WITHIN a certain period of creating the game. But if I come back to load say, a day later, then I get this bug and the save is lost.

So in my experience, it has something to do with time/creation date…

just my 1,5 cents.

1 Like

So basically when I click “Continue” or “Load Game” the game loads for a bit and then crashes. I’d post some screenshots but I can’t, Sorry. The First Error Message read “Assertion Failed: id(…\source\dm\store.cpp:38)” The Second Error read “Runtime Error! Program: C:\Program Fil… This application has requested the Runtime to terminate it in an unual way.” Not sure if that’s too much detail, but I hope that helps.

I get this on my Surface Pro 3

Desktop machine unaffected.

I got it to load a save, once, when I was already in game. Have you tried that?

Edit:
Nope!

Turns out that this also affects my desktop, but only SOME saves. I have a save at day 25 which is affected by but not the save at day 9.

I’ve got this now in r195. Don’t know if the day number affects this. I got this on day 18, but I’ve got another save also for day 18 which works.

Anyway, uploaded the save file for it, in case it’d help.

2 Likes

[2193 x64]
I was changing the walls on one of my house designs and kept getting the red screen assertion errors, so I deleted that house from the world and wanted to save and restart, as soon as I opened the save screen I got this:

The game just closed out to desktop.

Steps to reproduce:

  1. Build a custom house out of stone with doorway out a bit and save
  2. Place a ghost of that stone house and try to change the walls to wood
    (should get errors when trying to change the small areas around door)

Not sure if one will get the end error I got but will get the red screen ones when attempting to change the walls in small areas

1 Like

Just lost all morning’s work when trying to save progress:

This time it only left me server_state.bin in the tmp_save directory.

64bit on Win7 Intel chip machine

I know this thread mentions “on load”, but surely these are related?

Just looked into this one. You ran out of memory. :sleepy:

Are you sure you’re running the x64 build? If I recall correctly, there was a time when you manually turned it off because it was crashing for you. Look in Settings, System and see if it’s turned on (or check the build tag in the upper left corner of the screen)

Ah, yes I was running 32bit mode (on 64bit machine). Though the second machine, I was running the steam-copied game directly, so it may also have been running in 32bit mode? ( I wasn’t running it from the 64bit folder)

Anyway, I’m now running 64bit and so far, so good. Will report back as it happens… thanks for checking into this @Ponder

2 Likes

I tried to save the game and the game crashed to desktop with the error

“Assertion Failed: !saving_(…\source\dm\store.cpp:460)”

I have experienced this while trying to load a save, but when I turned off ambient occlusion, my save loaded successfully.

1 Like

Was mining a large area and trying to build slab staires when the game crashed with this error.

Got another instance of this: stonehearth.log (169.0 KB)

I was in the building editor at the time.

1 Like

And another instance: stonehearth.log (68.2 KB)

This time was actually doing nothing. Just watching the little guys build.