release-584 (x64)…onehearth/components/building/building_component.lua:483: attempt to index local ‘entity’ (a nil value)stack traceback:
radiant/modules/common.lua:237: in function 'report_traceback’
radiant/modules/common.lua:248: in function <radiant/modules/common.lua:242>
…onehearth/components/building/building_component.lua:483: in function ‘_trace_entity’
…onehearth/components/building/building_component.lua:174: in function ‘_restore_structure_traces’
…onehearth/components/building/building_component.lua:114: in function 'obj’
radiant/modules/events.lua:75: in function 'instance’
radiant/modules/events.lua:227: in function <radiant/modules/events.lua:221>
[C]: in function 'xpcall’
radiant/modules/common.lua:257: in function 'xpcall’
radiant/modules/events.lua:221: in function <radiant/modules/events.lua:187>
This is the bug I get. I would really know how to fix it as I enjoy playing StoneHearth alot!
hi, @Jarred_van_Vuuren. welcome to the discourse 
does this only happen with building? does a save/load fix the problem?
if it is a custom building, could you post the building template?
glad you are enjoying the game
Okay so I can only send one image, and I don’t really know which one to
pick?
So if you need more to come to a solution I would gladly send more.

is this the only building that gives you problems?
the template we need is a .json file. it can be found in your stonehearth folder -> saved_objects folder -> stonehearth folder -> building_templates folder
you should be able to upload more now that you’ve posted a bit
Yes and as well as when I try to build a building up against a mountain or
wall,they just stop working I tried merging my other custom buildings with
a mountain quite a few times but they just stop working and go back to idle
mode?
And those are two examples of the kind of buildings that I can’t build,
most of my building usually contain corners as in those custom templates.
Although if I build a simple square building everything seems to be in
working order.