Building bug (two story building)

Trying to build a two story building using slabs as a staircase. I get the following error. Doesn’t seem to be any other topics with the same luac code. After getting the error I am unable to build anything, including new structures, without a restart.

develop-2666 (x64)
…uction_progress/construction_progress_component.luac:62: assertion failed!
stack traceback:
[C]: ?
[C]: in function ‘assert’
…uction_progress/construction_progress_component.luac:62: in function 'get_fabricator_component’
stonehearth/lib/build_util.luac:148: in function 'cb’
radiant/modules/entities.luac:426: in function 'for_all_children’
radiant/modules/entities.luac:424: in function 'for_all_children’
stonehearth/lib/build_util.luac:147: in function 'get_cost’
stonehearth/services/server/build/build_service.luac:302: in function <stonehearth/services/server/build/build_service.luac:302>

Followed by:
develop-2666 (x64)
c++ exception: lua runtime error
stack traceback:

Then:
develop-2666 (x64)
std::logic_error: 'invalid reference in native get_id’
stack traceback:
[C]: ?
[C]: in function 'get_id’
stonehearth/lib/build_util.luac:204: in function ‘pack_entity’
…uction_progress/construction_progress_component.luac:65: in function 'save_to_template’
stonehearth/lib/build_util.luac:71: in function 'save_entity_to_template’
stonehearth/lib/build_util.luac:79: in function 'save_all_structures_to_template’
stonehearth/lib/build_util.luac:79: in function 'fn’
stonehearth/lib/build_util.luac:28: in function 'for_each_child’
stonehearth/lib/build_util.luac:79: in function 'save_all_structures_to_template’
stonehearth/lib/build_util.luac:160: in function 'save_template’
stonehearth/call_handlers/build_call_handler.luac:10: in function <stonehearth/call_handlers/build_call_handler.luac:9>

Next:
develop-2666 (x64)
stonehearth/services/server/build/build_service.luac:149: attempt to index local ‘building’ (a nil value)
stack traceback:
[C]: ?
stonehearth/services/server/build/build_service.luac:149: in function '_merge_blueprints_into’
stonehearth/services/server/build/build_service.luac:91: in function '_add_floor_type’
stonehearth/services/server/build/build_service.luac:81: in function 'add_floor’
stonehearth/services/server/build/build_service.luac:50: in function 'cb’
stonehearth/services/server/build/build_service.luac:304: in function 'do_command’
stonehearth/services/server/build/build_service.luac:50: in function <stonehearth/services/server/build/build_service.luac:49>

Also:
develop-2666 (x64)
…hearth/services/server/build/build_undo_manager.luac:6: assertion failed!
stack traceback:
[C]: ?
[C]: in function ‘assert’
…hearth/services/server/build/build_undo_manager.luac:6: in function 'begin_transaction’
stonehearth/services/server/build/build_service.luac:303: in function 'do_command’
stonehearth/services/server/build/build_service.luac:50: in function <stonehearth/services/server/build/build_service.luac:49>

Finally:
develop-2666 (x64)
…hearth/services/server/build/build_undo_manager.luac:108: assertion failed!
stack traceback:
[C]: ?
[C]: in function ‘assert’
…hearth/services/server/build/build_undo_manager.luac:108: in function 'clear’
stonehearth/services/server/build/build_service.luac:44: in function 'set_teardown’
stonehearth/call_handlers/build_call_handler.luac:7: in function <stonehearth/call_handlers/build_call_handler.luac:6>

Hey there @AngryGiant, I am sorry that you have not gotten a response on this post. Have you encountered this issue again? Are you able to reproduce it in the latest build (release 472)?