Made a simple stair, wanted to save it to use multiple times
Steps to reproduce:
- make a simple stair from slabs
- select and save
saving for later use
release-535 (x64)stonehearth/lib/build_util.lua:534: assertion failed!stack traceback:
[C]: in function 'assert’
stonehearth/lib/build_util.lua:534: in function 'unpack_entity_table’
stonehearth/components/column/column_component.lua:147: in function 'load_from_template’
stonehearth/lib/build_util.lua:112: in function 'load_structure_from_template’
stonehearth/lib/build_util.lua:120: in function 'load_all_structures_from_template’
stonehearth/lib/build_util.lua:124: in function 'load_all_structures_from_template’
stonehearth/lib/build_util.lua:419: in function ‘restore_template’
…ervices/client/build_editor/build_editor_service.lua:430: in function ‘_create_offscreen_template_entity’
…ervices/client/build_editor/build_editor_service.lua:387: in function <…ervices/client/build_editor/build_editor_service.lua:276>
release-535 (x64)c++ exception: lua runtime errorstack traceback:
There is a stair1 (named the stair design that way) building in my prebuild list, but i cannt place it
Version Number and Mods in use:
latest unstable steam build, debugtools farming/cooking mod
hey bthere ! @Doc_Brano,
did the template get saved or just throw the error? if it saved could you perhaps provide the template, could be useful for repro…
oh, as i was posting this you edited your post, could you provide the buggy template?
it shows in the list but it is not there. After saving and restarting when i wanna select it again with the error. Will add the template in the savefile map. 1458242163518.zip (5.5 MB)
rebuild the template on other side off the wall and no issue saving it, but it became part off the walls so no use yet. The top layer is made of road i just noticed to forget to tell
@Doc_Brano, templates are saved independently of games. If you could build the staircase not touching the wall (so it doesn’t merge) and upload the template here, that would be appreciated.
In order to upload a building template:
- Save your build as a template in game.
- Open your game directory. Default location for a Steam install is
C:\Program Files (x86)\Steam\steamapps\common\Stonehearth Default location for a Humble install is
C:\Program Files (x86)\Stonehearth\
- Navigate to the building templates stored in
- Locate the
.json file for your template. For example, if you wanted to upload the “Clay Dining Room” template, find
clay dining room.json.
- Compress the
.json file to a
- Right click the file you wish to zip.
- Left click
- Left click
Compressed (zipped) folder
enter on your keyboard.
- Upload the file to this thread in the Discourse by clicking the upload button in the editor and navigating to the file, or drag the file into the editor with your mouse.
I know were they are stored :). I have added it in the same zip file, it should be in the map. I have 2 stairs on that save, one is attached the other is not attached to the main wall for some reason.
Sinds then i haven’t had an issue with them not wanting to build a slab staircase with the top layer changed to road type block. Will try to confirm the issue is no longer present
Totally missed that! I am testing in a microworld now.
Edit: That template gives the same error, I would have to guess it is corrupted in some way, or didn’t save properly in the first place. Unless things have changed unfortunately the devs have said in the past there isn’t much they can do for non-working template files. Let me know if you can confirm the issue is no longer present .