Summary:
Sometimes when building a custom building, everything will be completed, except that some of the windows and doors will not be placed. Steps to reproduce:
Design a custom building with multiple types of doors and windows.
Build it, and give hearthlings no other duties.
Hearthlings will do everything but place some of the doors and/or windows.
Expected Results:
Doors and windows will be placed.
Actual Results:
Building never completes - clicking on building shows materials needed are available.
Notes:
Possibly related issues/bugs:
Moving objects into buildings will sometimes cause them to be added to the template (instead of actually being moved), even when the building is completed.
Upon opening building templates, the following error occurs:
release-761 (x64)
stonehearth/lib/build_util.lua:610: attempt to index local ātemplateā (a nil value)
stack traceback:
[C]: ?
stonehearth/lib/build_util.lua:610: in function āget_custom_templatesā
stonehearth/call_handlers/build_call_handler.lua:44: in function <stonehearth/call_handlers/build_call_handler.lua:43>
Either use Dropbox or Google Drive to upload it and then link it here or compress the file with a tool like 7zip or similar to get under 10MB and upload here.
Iāve also had this problem. When it first ocurred, I thought the issue might be trying to place wall-mounted lamps above the windows on either side of the walls and tried modifying my templates to avoid that, to no avail. Whenever I built something from scratch, the windows and everything else would work perfectly, however, after saving that building as a template and trying to build another using said template, with no changes made (an exact copy) the resulting one would be missing a number of windows after complete. If I were to enter in build & design or designate zone mode, the missing windows appear as ghosts that are yet to be placed, but noticeably the hearthlings already consider the building done. Additionally, clicking in the building shows an incorrect list of waiting-to-be-placed materials and objects. Eventually the template will become more corrupted and walls, roofs and floors will be removed from the template as I click ābuildā and the resulting building order is simply flying furniture. Overwriting the template with the original, correct building yields no changes on the template.