# Building Bug - Engine crash whilst placing window

**URL:** <https://discourse.stonehearth.net/t/building-bug-engine-crash-whilst-placing-window/20976>\
**Category:** Other Reports\
**Tags:** duplicate\
**Created:** [March 22, 2016, 6:47pm UTC](https://discourse.stonehearth.net/t/building-bug-engine-crash-whilst-placing-window/20976 "2016-03-22T18:47:37Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Freedom](https://avatars.discourse-cdn.com/v4/letter/f/bc8723/32.png) [@Freedom](https://discourse.stonehearth.net/u/Freedom)\
**Post date:** [March 22, 2016, 6:47pm UTC](https://discourse.stonehearth.net/t/building-bug-engine-crash-whilst-placing-window/20976/1 "2016-03-22T18:47:37Z")

</div>

**Summary:**  
The engine crashes if you attempt to add a window to a building after placing a door if you are playing as rayya’s children in the forest and use wood as the floor, clay for the walls and stone for the columns.  
**Steps to reproduce:**

1. start as rayya’s children in the forest
2. build a building with wooden floor, clay walls and stone columns
3. add a red clay door and then a red clay window frame

**Expected Results:**  
It to just place a red clay window on the wall.

**Actual Results:**  
The engine crashes and you get a random piece of wall appear sticking out of the building.  
You cannot delete this wall with undo and can not interact with it.

**Notes:**

**Attachments:**  
The first time it happened

 ![](https://us1.discourse-cdn.com/flex022/uploads/stonehearth/original/3X/5/6/5611f71f79415f85586ff61ad6df9ddcc575f0ec.jpg)  
a reproduction  
 ![](https://us1.discourse-cdn.com/flex022/uploads/stonehearth/original/3X/2/5/25d03f05e657680551340c1a56fa93eda66f05a8.jpg)

**Version Number and Mods in use:**  
steam stable build of alpha 15 release 537/none

**System Information:**  
release-537 (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\>

---

<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 22, 2016, 6:56pm UTC](https://discourse.stonehearth.net/t/building-bug-engine-crash-whilst-placing-window/20976/2 "2016-03-22T18:56:10Z")

</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 22, 2016, 6:56pm UTC](https://discourse.stonehearth.net/t/building-bug-engine-crash-whilst-placing-window/20976/3 "2016-03-22T18:56:11Z")

</div>


