I’m not sure what is causing these two errors and they don’t break the game as far as I can tell. The second one is weirdly short too.
release-763 (x64)[M]
stonehearth/components/fixture/fixture_component.lua:10: attempt to index field ‘_json’ (a nil value)
stack traceback:
[C]: ?
stonehearth/components/fixture/fixture_component.lua:10: in function <stonehearth/components/fixture/fixture_component.lua:6>
release-763 (x64)[M]
c++ exception: lua runtime error
stack traceback:
By the way, I was using these mods:
better stockpiles
finetems
pawel_API
patrol_mod
settlementdecor
settlementdecor_bs
endpieces
I’m sorry, but I don’t remember. Since I just started the colony I only had 2 buildings, a dining hall and a kitchen. There was one stone tunnel door and 2 lanterns for it. I had placed 12 beds inside the mined out area behind the tunnel door. That was it for placed items.
Those 2 error messages show up every time I reset the UI or load the game.
Similar problem here. Had this (UI Error on Startup (New Game)) error on startup, couldn’t unpause (probably a UI reload would have fixed this, but I saved the game and loaded from main menu).
Directly after loading 2 errors popped up:
release-763 (x64)
Unknown C++ exception
stack traceback:
[C]: ?
[C]: in function 'get'
...ct_starting_resources/collect_starting_resources.lua:81: in function '_init_item_count'
...ct_starting_resources/collect_starting_resources.lua:94: in function '_initialize_data'
...ct_starting_resources/collect_starting_resources.lua:26: in function <...ct_starting_resources/collect_starting_resources.lua:23>
and
release-763 (x64)
c++ exception: lua runtime error
stack traceback:
The fix for the issue mentioned in the “UI Error on Startup (New Game)” thread has been fixed and will be included in the next unstable push (probably next week), but currently when it happens, game state is likely corrupted and you may get random errors afterwards. I would suggest dropping that savefile altogether.
Nevermind, that’s a different UI error than the one I was thinking of. I’ll take a look at this one, but given that much of the surrounding infrastructure is changed in A23, it would be useful to check if this happens to you on the unstable A23 version. To switch to the unstable version:
Go to your Steam Library and right click on Stonehearth
Select “Properties” from the dropdown menu.
Hop on over to the “Betas” tab
In the “Select the beta you would like to opt into:” dropdown, choose "latest – The latest branch"
If you want to return to the stable branch, select “NONE – The regular version of the game.”
Thanks! I’ll give it a try, maybe tomorrow.
EDIT:
I did give it a try, beforehand I tested the Savegame on a22r763 to see if the error persists, it does.
On a23r765 the error does NOT pop up.
So congrats, seems like problem solved on the newest build!