So I was building just a random house, nothing special. But I wasn’t too happy with it and decided to start again.
So I clicked the finish building button then remove to get rid of the template when I got this error.
develop-2871 (x64)
std::logic_error: 'invalid reference in native get_id’
stack traceback:
radiant/modules/common.lua:223: in function 'report_traceback’
radiant/modules/common.lua:234: in function <radiant/modules/common.lua:228>
[C]: in function 'get_id’
radiant/modules/entities.lua:287: in function 'get_world_grid_location’
stonehearth/lib/build_util.lua:915: in function 'grow_local_box_to_roof’
stonehearth/components/wall/wall_component.lua:484: in function '_compute_wall_shape’
stonehearth/components/wall/wall_component.lua:283: in function ‘layout’
…onehearth/components/building/building_component.lua:383: in function ‘layout_roof’
…onehearth/components/building/building_component.lua:248: in function ‘_remove_structure’
…onehearth/components/building/building_component.lua:317: in function 'obj’
radiant/modules/events.lua:73: in function ‘instance’
…
radiant/modules/entities.lua:82: in function ‘destroy_entity’
…ruction_progress/construction_progress_component.lua:58: in function ‘set_finished’
…earth/components/fabricator/fabricator_component.lua:1160: in function ‘_update_fabricator_region’
…earth/components/fabricator/fabricator_component.lua:176: in function ‘set_teardown’
…ruction_progress/construction_progress_component.lua:97: in function 'set_teardown’
stonehearth/services/server/build/build_service.lua:113: in function 'cb’
stonehearth/services/server/build/build_service.lua:82: in function '_call_all_children’
stonehearth/services/server/build/build_service.lua:78: in function '_call_all_children’
stonehearth/services/server/build/build_service.lua:110: in function 'set_teardown’
stonehearth/call_handlers/build_call_handler.lua:25: in function <stonehearth/call_handlers/build_call_handler.lua:23>
hey @Smuggy, just moved your post over here as they seemed to be the same thing, though @Yosmo78 would have to post the error he got in order to confirm that…