# \[1658\] On Load, assert in store.cpp

**URL:** <https://discourse.stonehearth.net/t/1658-on-load-assert-in-store-cpp/8014>\
**Category:** Previous Build Reports\
**Created:** [October 7, 2014, 5:24pm UTC](https://discourse.stonehearth.net/t/1658-on-load-assert-in-store-cpp/8014 "2014-10-07T17:24:23Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![sdee](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/sdee/32/65441_2.png) [@sdee](https://discourse.stonehearth.net/u/sdee)\
**Post date:** [October 7, 2014, 5:24pm UTC](https://discourse.stonehearth.net/t/1658-on-load-assert-in-store-cpp/8014/1 "2014-10-07T17:24:23Z")

</div>

Continuing the discussion from [Alpha 5, Build 1658 - Max\_Level error](http://discourse.stonehearth.net/t/alpha-5-build-1658-max-level-error/7974/3):

Originally posted by @SnowmanJazz

> …I’ve had this same town for a while and just recently started throwing “assertion errors” upon loading. I think that save was slowly becoming corrupt. I will have to start a new town and re-confirm.

> error while loading save:  
> ![](https://us1.discourse-cdn.com/flex022/uploads/stonehearth/original/3X/a/1/a1340b51db63eb3026b84ed22b03fcfb81a3f9ae.png)

---

<div class="post-metadata">

**Author:** ![deakon](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/deakon/32/5090_2.png) [@deakon](https://discourse.stonehearth.net/u/deakon)\
**Post date:** [October 8, 2014, 12:57am UTC](https://discourse.stonehearth.net/t/1658-on-load-assert-in-store-cpp/8014/2 "2014-10-08T00:57:18Z")

</div>

i’ve reached a point where I can’t go any further I get this every time. delete my saves to where I can start game and next save I have this error. also ctrl c just makes a ding noise and it won’t copy my user id so you get windows key print screen instead

 ![](https://us1.discourse-cdn.com/flex022/uploads/stonehearth/original/3X/e/b/eb24e28050fb379c2090121418cecddf8a6d2b9f.jpg)

---

<div class="post-metadata">

**Author:** ![SnowmanJazz](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/snowmanjazz/32/44306_2.png) [@SnowmanJazz](https://discourse.stonehearth.net/u/SnowmanJazz)\
**Post date:** [October 9, 2014, 1:25pm UTC](https://discourse.stonehearth.net/t/1658-on-load-assert-in-store-cpp/8014/3 "2014-10-09T13:25:38Z")

</div>

@sdee I keep forgetting to mention it but I still have the zip file of my save if it helps any. I actually thought I deleted it. Would it be worth while to try and upload it?

---

<div class="post-metadata">

**Author:** ![sdee](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/sdee/32/65441_2.png) [@sdee](https://discourse.stonehearth.net/u/sdee)\
**Post date:** [October 9, 2014, 7:13pm UTC](https://discourse.stonehearth.net/t/1658-on-load-assert-in-store-cpp/8014/4 "2014-10-09T19:13:00Z")

</div>

Sure! Can’t hurt, anyway. 🙂

---

<div class="post-metadata">

**Author:** ![SnowmanJazz](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/snowmanjazz/32/44306_2.png) [@SnowmanJazz](https://discourse.stonehearth.net/u/SnowmanJazz)\
**Post date:** [October 9, 2014, 7:20pm UTC](https://discourse.stonehearth.net/t/1658-on-load-assert-in-store-cpp/8014/5 "2014-10-09T19:20:56Z")

</div>

Well, I loaded it here: [TinyUpload.com - best file hosting solution, with no limits, totaly free](http://s000.tinyupload.com/?file_id=00750014369896654072). Let me know if there are any troubles with getting to it.

Thanks again for everything, @sdee! You guys are awesome! 👍

---

<div class="post-metadata">

**Author:** ![Tarnanduil\_Naranuel](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/tarnanduil_naranuel/32/44615_2.png) [@Tarnanduil\_Naranuel](https://discourse.stonehearth.net/u/Tarnanduil_Naranuel)\
**Post date:** [October 11, 2014, 5:05pm UTC](https://discourse.stonehearth.net/t/1658-on-load-assert-in-store-cpp/8014/6 "2014-10-11T17:05:57Z")

</div>

First off, thank you for an AWESOME game! Been following you guys for a while now, and I hope y’all keep up the good work! 😄

I’m having this same issue. It seems to always happen to the latest save, so if I delete that one and load up  
another directly before it, the game will load fine. If I create multiple saves afterwards, close the game, then come back later and continue, I’ll get the same error.

My user id doesn’t seem to want to copy either 😟  
0c61cf6a-4f87-11e4-9ae8-bcaec510a19bw

Edit: I’m actually using Build [1665]

---

<div class="post-metadata">

**Author:** ![edron5](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/edron5/32/44659_2.png) [@edron5](https://discourse.stonehearth.net/u/edron5)\
**Post date:** [October 19, 2014, 4:49pm UTC](https://discourse.stonehearth.net/t/1658-on-load-assert-in-store-cpp/8014/7 "2014-10-19T16:49:59Z")

</div>

This have happend me a lot of times during all the Save and loadable Alphas. When i try to load a game, it crashes after just loaded about 30% loading.  
Before i got an error that just said: ID

but now i got an error that said:  
Assertion Faild: id(…source\dm\store.cpp:38)

and all the saves are from the current build.  
i’m not loading games from old builds.

---

<div class="post-metadata">

**Author:** ![Cladox](https://avatars.discourse-cdn.com/v4/letter/c/df705f/32.png) [@Cladox](https://discourse.stonehearth.net/u/Cladox)\
**Post date:** [October 19, 2014, 12:09pm UTC](https://discourse.stonehearth.net/t/1658-on-load-assert-in-store-cpp/8014/8 "2014-10-19T12:09:05Z")

</div>

If you have other saved games! You have to delete them! I was getting crashes too and deleted all, but 1 game and it loaded up fine!

---

<div class="post-metadata">

**Author:** ![Teleros](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/teleros/32/63349_2.png) [@Teleros](https://discourse.stonehearth.net/u/Teleros)\
**Post date:** [October 19, 2014, 12:28pm UTC](https://discourse.stonehearth.net/t/1658-on-load-assert-in-store-cpp/8014/9 "2014-10-19T12:28:30Z")

</div>

Could also simply be that the save you’re trying to load is corrupted.

---

<div class="post-metadata">

**Author:** ![edron5](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/edron5/32/44659_2.png) [@edron5](https://discourse.stonehearth.net/u/edron5)\
**Post date:** [October 19, 2014, 12:31pm UTC](https://discourse.stonehearth.net/t/1658-on-load-assert-in-store-cpp/8014/10 "2014-10-19T12:31:57Z")

</div>

But i don’t have any other saves?  
not even in the steamapps/common/stoneharth/saves. there is only one save 😕

yeah, the save could be corrupted, but almost all my saves that I ever had has then been Corrupted?

---

<div class="post-metadata">

**Author:** ![Teleros](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/teleros/32/63349_2.png) [@Teleros](https://discourse.stonehearth.net/u/Teleros)\
**Post date:** [October 19, 2014, 12:34pm UTC](https://discourse.stonehearth.net/t/1658-on-load-assert-in-store-cpp/8014/11 "2014-10-19T12:34:53Z")

</div>

> [@\[Dup\] Crash when trying to load a game?](https://discourse.stonehearth.net/t/dup-crash-when-trying-to-load-a-game/8244/4):
>
> yeah, the save could be corrupted, but almost all my saves that I ever had has then been Corrupted?

It is sadly a fairly regular problem ATM ☹ .

Could try removing the save game folder from Stonehearth/saves and making/saving a new game. See if that loads fine etc, which will at least help determine whether it’s the game or your saved game.

---

<div class="post-metadata">

**Author:** ![Raeden](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/raeden/32/14226_2.png) [@Raeden](https://discourse.stonehearth.net/u/Raeden)\
**Post date:** [October 19, 2014, 1:47pm UTC](https://discourse.stonehearth.net/t/1658-on-load-assert-in-store-cpp/8014/12 "2014-10-19T13:47:24Z")

</div>

I experience this issue sometimes when it loads as well but it just crashes and no error message is even shown. Usually it happens when I’ve receieved some red error texts in game for whatever reason at some point. Even if things are better in the game and running smoothly it will still be an occurence.

---

<div class="post-metadata">

**Author:** ![SteveAdamo](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/steveadamo/32/13955_2.png) [@SteveAdamo](https://discourse.stonehearth.net/u/SteveAdamo)\
**Post date:** [October 19, 2014, 4:51pm UTC](https://discourse.stonehearth.net/t/1658-on-load-assert-in-store-cpp/8014/13 "2014-10-19T16:51:07Z")

</div>

hey there @edron5 … your post has been merged here, as additional confirmation of this particular bug…

thanks! 👍

---

<div class="post-metadata">

**Author:** ![burton344](https://avatars.discourse-cdn.com/v4/letter/b/8e7dd6/32.png) [@burton344](https://discourse.stonehearth.net/u/burton344)\
**Post date:** [November 26, 2014, 4:41am UTC](https://discourse.stonehearth.net/t/1658-on-load-assert-in-store-cpp/8014/14 "2014-11-26T04:41:10Z")

</div>

I start up the game fine and when i go to continue my current game the issue comes up after it loads about a fith of the way.

assertion failed: id(…\source\dm\store.cpp:38)

thsi is the error that is coming up. i also get a runtime failure message after. I tried some of the suggestions from a simalar post but none worked. If you need any other information about my system just let me know.

---

<div class="post-metadata">

**Author:** ![caster12](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/caster12/32/15907_2.png) [@caster12](https://discourse.stonehearth.net/u/caster12)\
**Post date:** [November 26, 2014, 8:19pm UTC](https://discourse.stonehearth.net/t/1658-on-load-assert-in-store-cpp/8014/15 "2014-11-26T20:19:13Z")

</div>

I restarted my stonehearth because I kept getting a error message and when I went to load my save it wouldn’t load it stayed at a little past a fourth of the way and it didn’t go any further.

---

<div class="post-metadata">

**Author:** ![caster12](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/caster12/32/15907_2.png) [@caster12](https://discourse.stonehearth.net/u/caster12)\
**Post date:** [November 26, 2014, 7:40pm UTC](https://discourse.stonehearth.net/t/1658-on-load-assert-in-store-cpp/8014/16 "2014-11-26T19:40:59Z")

</div>

![](https://us1.discourse-cdn.com/flex022/uploads/stonehearth/original/2X/b/bb7274eae1164d5818df7b99281137f9dd34ce11.jpg)

---

<div class="post-metadata">

**Author:** ![caster12](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/caster12/32/15907_2.png) [@caster12](https://discourse.stonehearth.net/u/caster12)\
**Post date:** [November 26, 2014, 7:41pm UTC](https://discourse.stonehearth.net/t/1658-on-load-assert-in-store-cpp/8014/17 "2014-11-26T19:41:23Z")

</div>

![](https://us1.discourse-cdn.com/flex022/uploads/stonehearth/original/3X/f/1/f136299376eb644566ba0abfcf8efaad6d2b7602.jpg)

---

<div class="post-metadata">

**Author:** ![Relyss](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/relyss/32/41785_2.png) [@Relyss](https://discourse.stonehearth.net/u/Relyss)\
**Post date:** [November 26, 2014, 8:22pm UTC](https://discourse.stonehearth.net/t/1658-on-load-assert-in-store-cpp/8014/18 "2014-11-26T20:22:56Z")

</div>

@burton344, @caster12, have you tried deleting all the save files from the saved\_games folder, (not from the esc menu within the game) and trying to make new saves after that?

---

<div class="post-metadata">

**Author:** ![caster12](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/caster12/32/15907_2.png) [@caster12](https://discourse.stonehearth.net/u/caster12)\
**Post date:** [November 26, 2014, 9:12pm UTC](https://discourse.stonehearth.net/t/1658-on-load-assert-in-store-cpp/8014/19 "2014-11-26T21:12:34Z")

</div>

Where would I go to get to that file?

---

<div class="post-metadata">

**Author:** ![Relyss](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/relyss/32/41785_2.png) [@Relyss](https://discourse.stonehearth.net/u/Relyss)\
**Post date:** [November 26, 2014, 10:23pm UTC](https://discourse.stonehearth.net/t/1658-on-load-assert-in-store-cpp/8014/20 "2014-11-26T22:23:31Z")

</div>

If you play with Steam, you have to go to where Steam is installed, and navigate to the Stonehearth folder. For example:

C:\Steam\SteamApps\common\Stonehearth

There, you will see a folder named saved\_games. You have to delete all the files inside that folder.

[Next page](https://discourse.stonehearth.net/t/1658-on-load-assert-in-store-cpp/8014.md?page=2)
