Summary: A diagonal edge of a foundation will break the wall geneation script and also prevent you from removing the building afterwards.
Steps to reproduce:
- Start designing a custom building
- Have a foundation with a diagonal edge
- Try to have it automatically place a wall
- Enjoy the error console coming up
- Also: hope it didn’t save after you did that, because you can’t remove the walls or the building.
Expected Results: Poles on the ends of the diagonal edge and the normal wall pattern in between; being able to undo the wall placement.
Actual Results: Walls on half of the house, no way to remove them or even remove the building.
Broken Wall Placement:
Errors: First comes when trying to place the walls, second when trying to remove the building.
release-701 (x64) stonehearth/components/wall/wall_component.lua:372: attempt to index a nil value stack traceback: [C]: ? stonehearth/components/wall/wall_component.lua:372: in function 'connect_to_columns' stonehearth/services/server/build/build_service.lua:1264: in function 'init_fn' stonehearth/services/server/build/build_service.lua:529: in function '_create_blueprint' stonehearth/services/server/build/build_service.lua:1262: in function '_create_wall' stonehearth/services/server/build/build_service.lua:1249: in function '_add_wall_span' stonehearth/services/server/build/build_service.lua:1078: in function 'visitor_fn' stonehearth/lib/build_util.lua:819: in function 'grow_walls_around' stonehearth/services/server/build/build_service.lua:1077: in function 'grow_walls' stonehearth/services/server/build/build_service.lua:1049: in function 'cb' stonehearth/services/server/build/build_service.lua:1582: in function 'do_command' stonehearth/services/server/build/build_service.lua:1048: in function <stonehearth/services/server/build/build_service.lua:1046> release-701 (x64) stonehearth/services/server/build/build_undo_manager.lua:415: assertion failed! stack traceback: [C]: ? [C]: in function 'assert' ...ehearth/services/server/build/build_undo_manager.lua:415: in function 'clear' stonehearth/services/server/build/build_service.lua:111: in function 'set_teardown' stonehearth/call_handlers/build_call_handler.lua:25: in function <stonehearth/call_handlers/build_call_handler.lua:23>
Version Number and Mods in use: release-701 x64, no mods
System Information: Windows 10 64-bit