# Building Scaffolding Issue

**URL:** <https://discourse.stonehearth.net/t/building-scaffolding-issue/34642>\
**Category:** Bug Reports\
**Tags:** building, a24r821\
**Created:** [April 19, 2018, 8:20pm UTC](https://discourse.stonehearth.net/t/building-scaffolding-issue/34642 "2018-04-19T20:20:44Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![SoCoMRAiDER](https://avatars.discourse-cdn.com/v4/letter/s/c5a1d2/32.png) [@SoCoMRAiDER](https://discourse.stonehearth.net/u/SoCoMRAiDER)\
**Post date:** [April 19, 2018, 8:20pm UTC](https://discourse.stonehearth.net/t/building-scaffolding-issue/34642/1 "2018-04-19T20:20:44Z")

</div>

**Summary:**  
Whenever my hearthlings attempt to build a building, they leave the building with the scaffold up and the error message pops up. Happens more frequently when town alert mode is activated during construction.  
**Steps to reproduce:**

1. Start a building that requires scaffolding
2. Either leave them to their own or enable town alert.
3. Disable town alert
4. Watch the error message pop up…

**Expected Results:**  
The hearthlings should destroy the scaffolding and continue to adding doors and windows.  
**Actual Results:**  
They leave the building and idle.

**Attachments:**  
release-821 (x64)  
…hearth/components/scaffolding/scaffolding\_region.lua:791: attempt to index field ‘\_owning\_scaffolding’ (a nil value)  
stack traceback:  
radiant/modules/commons.lua:53: in function ‘report\_traceback’  
radiant/modules/commons.lua:64: in function \<radiant/modules/commons.lua:58\>  
…hearth/components/scaffolding/scaffolding\_region.lua:791: in function ‘instance’  
radiant/modules/events.lua:291: in function \<radiant/modules/events.lua:285\>  
[C]: in function ‘xpcall’  
radiant/modules/commons.lua:73: in function ‘xpcall’  
radiant/modules/events.lua:285: in function \<radiant/modules/events.lua:251\>  
[C]: in function ‘destroy\_entity’  
radiant/modules/entities.lua:100: in function ‘destroy\_entity’  
stonehearth/services/server/build/ladder\_builder.lua:141: in function \<stonehearth/services/server/build/ladder\_builder.lua:126\>  
[C]: in function ‘destroy’  
stonehearth/services/server/build/ladder\_manager.lua:71: in function ‘\_destroy\_builder’  
stonehearth/services/server/build/ladder\_builder.lua:470: in function ‘\_check\_if\_valid’  
stonehearth/services/server/build/ladder\_builder.lua:327: in function ‘\_update\_build\_mode’  
stonehearth/services/server/build/ladder\_builder.lua:118: in function \<stonehearth/services/server/build/ladder\_builder.lua:117\>

**System Information:**  
AMD Ryzen 5 1600X @ 3.4 GHz  
16 GB DDR4 RAM @2400 MHz  
MSI AM4 B350 Tomahawk Arctic  
MSI GeForce GTX 1060 6 GB OCV1

---

<div class="post-metadata">

**Author:** ![Fawnzy23](https://avatars.discourse-cdn.com/v4/letter/f/919ad9/32.png) [@Fawnzy23](https://discourse.stonehearth.net/u/Fawnzy23)\
**Post date:** [April 20, 2018, 3:25am UTC](https://discourse.stonehearth.net/t/building-scaffolding-issue/34642/2 "2018-04-20T03:25:10Z")

</div>

Yes! I’m having the same issue, I didn’t realize town alert was what was triggering it. Somebody said it seems to be an issue with the scaffolding being uneven, I guess when they return to work from town alert mode. I tried destroying the scaffolding using commands and I think that kinda fixed it. Hope that helps 😕 I’m not a very techy person 🤷‍♂️
