# Bug Report, My workers stop building after a certain time period

**URL:** <https://discourse.stonehearth.net/t/bug-report-my-workers-stop-building-after-a-certain-time-period/24119>\
**Category:** Previous Build Reports\
**Created:** [July 21, 2016, 12:20pm UTC](https://discourse.stonehearth.net/t/bug-report-my-workers-stop-building-after-a-certain-time-period/24119 "2016-07-21T12:20:25Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jarred\_van\_Vuuren](https://avatars.discourse-cdn.com/v4/letter/j/6f9a4e/32.png) [@Jarred\_van\_Vuuren](https://discourse.stonehearth.net/u/Jarred_van_Vuuren)\
**Post date:** [July 21, 2016, 12:20pm UTC](https://discourse.stonehearth.net/t/bug-report-my-workers-stop-building-after-a-certain-time-period/24119/1 "2016-07-21T12:20:25Z")

</div>

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!

---

<div class="post-metadata">

**Author:** ![jjjshab](https://avatars.discourse-cdn.com/v4/letter/j/c0e974/32.png) [@jjjshab](https://discourse.stonehearth.net/u/jjjshab)\
**Post date:** [July 21, 2016, 6:45pm UTC](https://discourse.stonehearth.net/t/bug-report-my-workers-stop-building-after-a-certain-time-period/24119/2 "2016-07-21T18:45:12Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Jarred\_van\_Vuuren](https://avatars.discourse-cdn.com/v4/letter/j/6f9a4e/32.png) [@Jarred\_van\_Vuuren](https://discourse.stonehearth.net/u/Jarred_van_Vuuren)\
**Post date:** [July 21, 2016, 11:29pm UTC](https://discourse.stonehearth.net/t/bug-report-my-workers-stop-building-after-a-certain-time-period/24119/3 "2016-07-21T23:29:55Z")

</div>

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.

![](https://us1.discourse-cdn.com/flex022/uploads/stonehearth/original/3X/d/8/d80b355007703905e80ab614056361249081dfe9.jpg)

---

<div class="post-metadata">

**Author:** ![jjjshab](https://avatars.discourse-cdn.com/v4/letter/j/c0e974/32.png) [@jjjshab](https://discourse.stonehearth.net/u/jjjshab)\
**Post date:** [July 21, 2016, 11:41pm UTC](https://discourse.stonehearth.net/t/bug-report-my-workers-stop-building-after-a-certain-time-period/24119/4 "2016-07-21T23:41:20Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Jarred\_van\_Vuuren](https://avatars.discourse-cdn.com/v4/letter/j/6f9a4e/32.png) [@Jarred\_van\_Vuuren](https://discourse.stonehearth.net/u/Jarred_van_Vuuren)\
**Post date:** [July 22, 2016, 11:14am UTC](https://discourse.stonehearth.net/t/bug-report-my-workers-stop-building-after-a-certain-time-period/24119/5 "2016-07-22T11:14:36Z")

</div>

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.
