[release-572 (x64)] Assertion failed Load from Template

release-572 (x64)
…onehearth/components/building/building_component.lua:791: assertion failed!
stack traceback:
[C]: ?
[C]: in function ‘assert’
…onehearth/components/building/building_component.lua:791: in function 'load_from_template’
stonehearth/lib/build_util.lua:117: in function 'load_structure_from_template’
stonehearth/lib/build_util.lua:125: in function 'load_all_structures_from_template’
stonehearth/lib/build_util.lua:455: in function ‘restore_template’
…ervices/client/build_editor/build_editor_service.lua:493: in function ‘_create_offscreen_template_entity’
…ervices/client/build_editor/build_editor_service.lua:450: in function <…ervices/client/build_editor/build_editor_service.lua:339>

release-572 (x64)
c++ exception: lua runtime error
stack traceback:

How to reproduce.

  • Load a custom template
  • Place it
  • Select Edit
  • Change some stuff
  • Click on Roof/Structure
  • Select Save
  • Save under new name
  • BAM

Just found this page. Same problem happens with me. The only buildings I can’t place with a template are the ones that don’t have a picture next to the template name. I looked in the files (steamapps/common/Stonehearth/saved_objects/stonehearth/building_templates) and saw that the png files for the building wasn’t there. I tried re-saving the building but had no luck. This is in alpha 17 so… Probably a new bug. Haven’t tested it out in alpha 16 though.

Good to know that I’m not the only one with this bug as I couldn’t find any topics via google XD