# Strange building crash

**URL:** <https://discourse.stonehearth.net/t/strange-building-crash/20818>\
**Category:** Other Reports\
**Tags:** duplicate\
**Created:** [March 16, 2016, 6:35pm UTC](https://discourse.stonehearth.net/t/strange-building-crash/20818 "2016-03-16T18:35:37Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Doc\_Brano](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/doc_brano/32/50733_2.png) [@Doc\_Brano](https://discourse.stonehearth.net/u/Doc_Brano)\
**Post date:** [March 16, 2016, 6:35pm UTC](https://discourse.stonehearth.net/t/strange-building-crash/20818/1 "2016-03-16T18:35:38Z")

</div>

**Summary:**  
When designing a home sometimes ik get the following  
 ![](https://us1.discourse-cdn.com/flex022/uploads/stonehearth/original/3X/d/7/d78995f9cde4b6894fc3e38dfc4b38077fb44cfc.jpg)

As you can see from the image above, there is suddenly an extra 2 walls added to the build. They can not be removed and remain on the map even if you delete de blueprint your working on.

Stonehearth.log:

release-529 (x64)radiant/modules/client\_entities.lua:104: attempt to index local ‘entity’ (a nil value)stack traceback:  
[C]: ?  
radiant/modules/client\_entities.lua:104: in function ‘get\_world\_grid\_location’  
…ruction\_progress/construction\_progress\_component.lua:282: in function ‘remove\_world\_region’  
stonehearth/components/wall/wall\_component.lua:340: in function ‘layout’  
…th/services/client/build\_editor/structure\_editor.lua:114: in function ‘\_initialize\_proxies’  
…th/services/client/build\_editor/structure\_editor.lua:64: in function ‘begin\_editing’  
…earth/services/client/build\_editor/portal\_editor.lua:33: in function ‘begin\_editing’  
…earth/services/client/build\_editor/doodad\_placer.lua:95: in function ‘\_on\_mouse\_event’  
…earth/services/client/build\_editor/doodad\_placer.lua:49: in function ‘\_mouse\_cb’  
stonehearth/services/client/input/input\_capture.lua:49: in function ‘\_dispatch’  
stonehearth/services/client/input/input\_service.lua:55: in function ‘\_dispatch\_input’  
stonehearth/services/client/input/input\_service.lua:12: in function \<stonehearth/services/client/input/input\_service.lua:11\>

release-529 (x64)radiant/modules/entities.lua:89: attempt to call method ‘is\_valid’ (a nil value)stack traceback:  
[C]: in function ‘is\_valid’  
radiant/modules/entities.lua:89: in function ‘kill\_entity’  
stonehearth/call\_handlers/entities\_call\_handler.lua:25: in function \<stonehearth/call\_handlers/entities\_call\_handler.lua:22\>

release-529 (x64)c++ exception: lua runtime errorstack traceback:

release-529 (x64)stonehearth/services/server/ai/ai\_service.lua:440: attempt to call method ‘get\_id’ (a nil value)stack traceback:  
[C]: in function ‘get\_id’  
stonehearth/services/server/ai/ai\_service.lua:440: in function ‘\_add\_reconsidered\_entity’  
stonehearth/services/server/ai/ai\_service.lua:461: in function ‘reconsider\_entity’  
debugtools/call\_handlers/debugtools\_commands.lua:384: in function \<debugtools/call\_handlers/debugtools\_commands.lua:383\>

release-529 (x64)radiant/modules/entities.lua:78: attempt to call method ‘is\_valid’ (a nil value)stack traceback:  
[C]: in function ‘is\_valid’  
radiant/modules/entities.lua:78: in function ‘destroy\_entity’  
stonehearth/call\_handlers/entities\_call\_handler.lua:18: in function \<stonehearth/call\_handlers/entities\_call\_handler.lua:15\>

release-529 (x64)stonehearth/lib/entity\_forms/entity\_forms\_lib.lua:26: attempt to call method ‘get\_component’ (a nil value)stack traceback:  
[C]: in function ‘get\_component’  
stonehearth/lib/entity\_forms/entity\_forms\_lib.lua:26: in function ‘get\_forms’  
stonehearth/call\_handlers/entities\_call\_handler.lua:31: in function \<stonehearth/call\_handlers/entities\_call\_handler.lua:29\>

I have had this in multible new games now. Happens with already designed homes as with newly designed homes. The game basicly becomes unplayable due to it always bugging anything you wanna placve there

**Versions and Mods:**  
Latest steam build, mods debugtools and farming/food mod

---

<div class="post-metadata">

**Author:** ![8BitCrab](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/8bitcrab/32/48512_2.png) [@8BitCrab](https://discourse.stonehearth.net/u/8BitCrab)\
**Post date:** [March 16, 2016, 6:37pm UTC](https://discourse.stonehearth.net/t/strange-building-crash/20818/2 "2016-03-16T18:37:45Z")

</div>

A post was merged into an existing topic: [Weird glowing shifting wall bug](https://discourse.stonehearth.net/t/weird-glowing-shifting-wall-bug/20816)

---

<div class="post-metadata">

**Author:** ![8BitCrab](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/8bitcrab/32/48512_2.png) [@8BitCrab](https://discourse.stonehearth.net/u/8BitCrab)\
**Post date:** [March 16, 2016, 6:37pm UTC](https://discourse.stonehearth.net/t/strange-building-crash/20818/3 "2016-03-16T18:37:45Z")

</div>


