Doors and windows not being placed

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:

  1. Design a custom building with multiple types of doors and windows.
  2. Build it, and give hearthlings no other duties.
  3. 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.

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>



Version Number and Mods in use:
Alpha 22 latest

System Information:
Windows 7 Enterprise 64 bit
AMD Phenom II


Could you upload that savefile please?

1 Like

Trying to upload says the file is too big. My server_state.bin is over 12MB. Any advice?

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.

1 Like

this sometimes happens even with the standart building construct, i mean template

Here’s the saved game. Sorry for the delay!

I also have the problem, every time i made a slightly big building, they just refuse to place the final items

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.