Error when placing template [New Builder]

Summary:
Tried placing a template i designed in this new version at this dirt spot and if you place it at that rotation shown in pictures it throws this crazy errors and messes up the building placed.
Placing any building after this results in all kinds of parts missing ect on the house
Steps to reproduce:

  1. Place House Template and rotate it different ways this spot shown in Attachments
  2. Throws this error that breaks the entire game after

Expected Results:
Placed like it should without errors or missing parts or messed up template
Actual Results:
Breaks the game and breaks new templates that i try to place and leaves behind a building that looks different than the saved template

Notes:
ERROR TEXTS
release-823 (x64)
No matching overload found, candidates: void __sub(lua_State*,Region3 const&,Cube3 const&) void __sub(lua_State*,Region3 const&,Region3 const&)
stack traceback:
[C]: ?
[C]: ?
[C]: ?
stonehearth/lib/building/blocks_data.lua:105: in function ‘get_region’
stonehearth/services/client/widget/blocks_widget.lua:208: in function <stonehearth/services/client/widget/blocks_widget.lua:206>
[C]: in function ‘modify’
stonehearth/services/client/widget/blocks_widget.lua:206: in function ‘update_data’
stonehearth/services/client/widget/blocks_widget.lua:162: in function <stonehearth/services/client/widget/blocks_widget.lua:161>
[C]: in function ‘push_object_state’
stonehearth/services/client/widget/blocks_widget.lua:164: in function ‘from_blueprint’
stonehearth/components/building2/client_building.lua:239: in function ‘_register_widget_for’
stonehearth/components/building2/client_building.lua:160: in function ‘fn’
radiant/modules/events.lua:288: in function <radiant/modules/events.lua:285>
[C]: in function ‘xpcall’
radiant/modules/commons.lua:73: in function ‘xpcall’
radiant/modules/events.lua:285: in function <radiant/modules/events.lua:251>

ERROR 2
release-823 (x64)
No matching overload found, candidates: void subtract_region(Region3&,Region3 const&)
stack traceback:
[C]: ?
[C]: in function ‘subtract_region’
stonehearth/lib/building/roof_data.lua:320: in function ‘get_real_roof_region’
stonehearth/services/client/widget/roof_widget.lua:176: in function <stonehearth/services/client/widget/roof_widget.lua:172>
[C]: in function ‘modify’
stonehearth/services/client/widget/roof_widget.lua:172: in function ‘_regenerate_roof’
stonehearth/services/client/widget/roof_widget.lua:143: in function ‘update_data’
stonehearth/services/client/widget/roof_widget.lua:76: in function <stonehearth/services/client/widget/roof_widget.lua:75>
[C]: in function ‘push_object_state’
stonehearth/services/client/widget/roof_widget.lua:78: in function ‘from_blueprint’
stonehearth/components/building2/client_building.lua:239: in function ‘_register_widget_for’
stonehearth/components/building2/client_building.lua:160: in function ‘fn’
radiant/modules/events.lua:288: in function <radiant/modules/events.lua:285>
[C]: in function ‘xpcall’
radiant/modules/commons.lua:73: in function ‘xpcall’
radiant/modules/events.lua:285: in function <radiant/modules/events.lua:251>

Error 3
release-823 (x64)
stonehearth/lib/building/room_data.lua:173: assertion failed!
stack traceback:
[C]: ?
[C]: in function ‘assert’
stonehearth/lib/building/room_data.lua:173: in function ‘get_region’
stonehearth/lib/building/building_data.lua:92: in function ‘get_world_region’
…s/client/building_vision/building_vision_service.lua:356: in function ‘_update_bid_level’
…s/client/building_vision/building_vision_service.lua:246: in function ‘renderer_changed’
…onehearth/services/client/widget/widget_renderer.lua:101: in function ‘_update_shape’
…onehearth/services/client/widget/widget_renderer.lua:21: in function <…onehearth/services/client/widget/widget_renderer.lua:20>
[C]: in function ‘push_object_state’
…onehearth/services/client/widget/widget_renderer.lua:23: in function <…onehearth/services/client/widget/widget_renderer.lua:10>

Error 4
release-823 (x64)
stonehearth/lib/building/building_data.lua:92: attempt to index a nil value
stack traceback:
[C]: ?
stonehearth/lib/building/building_data.lua:92: in function ‘get_world_region’
…s/client/building_vision/building_vision_service.lua:356: in function ‘_update_bid_level’
…s/client/building_vision/building_vision_service.lua:246: in function ‘renderer_changed’
…onehearth/services/client/widget/widget_renderer.lua:101: in function ‘_update_shape’
…onehearth/services/client/widget/widget_renderer.lua:21: in function <…onehearth/services/client/widget/widget_renderer.lua:20>
[C]: in function ‘push_object_state’
…onehearth/services/client/widget/widget_renderer.lua:23: in function <…onehearth/services/client/widget/widget_renderer.lua:10>

Error 5
release-823 (x64)
stonehearth/lib/building/fixture_data.lua:152: sorry, time to fix this!
stack traceback:
[C]: ?
[C]: in function ‘assert’
stonehearth/lib/building/fixture_data.lua:152: in function ‘_get_origin_fixup’
stonehearth/lib/building/fixture_data.lua:172: in function ‘dangerous_rotate’
stonehearth/lib/building/template_utils.lua:404: in function ‘load_template’
…hearth/services/server/building/building_service.lua:318: in function ‘load_building’
…hearth/services/server/building/building_service.lua:310: in function <…hearth/services/server/building/building_service.lua:309>

Error 6
release-823 (x64)
c++ exception: lua runtime error
stack traceback:

Errors when placing new template on normal green grass
release-823 (x64)
stonehearth/lib/building/fixture_data.lua:152: sorry, time to fix this!
stack traceback:
[C]: ?
[C]: in function ‘assert’
stonehearth/lib/building/fixture_data.lua:152: in function ‘_get_origin_fixup’
stonehearth/lib/building/fixture_data.lua:172: in function ‘dangerous_rotate’
stonehearth/lib/building/template_utils.lua:404: in function ‘load_template’
…hearth/services/server/building/building_service.lua:318: in function ‘load_building’
…hearth/services/server/building/building_service.lua:310: in function <…hearth/services/server/building/building_service.lua:309>

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

Attachments:
Broken if placed this way

Works if placed this rotation

Broken Building Template after the Error

Template
building_templates.zip (37.3 KB)

Save
savefile.zip (4.3 MB)

Version Number and Mods in use:
Release-823 (x64)
System Information:
Windows 10 x64
AMD 7950 3GB
i7 3930k 6core 12thread
32GB DDR3
Samsung 840, 830 SSD

2 Likes

Well, that’s embarrassing. (For me). I’ll try to get a new build out tomorrow or Wednesday with a fix for this. Sorry! It’s a lovely template.

5 Likes

:smiley: awesome looking forward to it and thanks

3 Likes