[develop-2477] Error on save house

I create a house, when i save it:

develop-2477 (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: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>

and:

develop-2477 (x64)
c++ exception: lua runtime error
stack traceback:

to better analyze the problem I attach a screenshot of the home

tnx :slight_smile:

after start build:

develop-2477 (x64)
...nehearth/components/building/building_component.luac:210: attempt to index a nil value
stack traceback:
	radiant/modules/events.luac:68: in function <radiant/modules/events.luac:65>
	...nehearth/components/building/building_component.luac:210: in function '_on_child_finished'
	...nehearth/components/building/building_component.luac:114: in function 'self'
	radiant/modules/events.luac:80: in function <radiant/modules/events.luac:78>
	[C]: in function 'xpcall'
	radiant/modules/events.luac:78: in function 'trigger'
	radiant/modules/events.luac:96: in function '_update'
	radiant/server.luac:19: in function <radiant/server.luac:17>

and not place doors and windows