# Cannot Build and design a house!

**URL:** <https://discourse.stonehearth.net/t/cannot-build-and-design-a-house/22759>\
**Category:** Previous Build Reports\
**Created:** [June 8, 2016, 10:15am UTC](https://discourse.stonehearth.net/t/cannot-build-and-design-a-house/22759 "2016-06-08T10:15:12Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Greystorm123](https://avatars.discourse-cdn.com/v4/letter/g/57b2e6/32.png) [@Greystorm123](https://discourse.stonehearth.net/u/Greystorm123)\
**Post date:** [June 8, 2016, 10:15am UTC](https://discourse.stonehearth.net/t/cannot-build-and-design-a-house/22759/1 "2016-06-08T10:15:12Z")

</div>

Hi,  
I cannot seem to build in game. Affects both designing a custom building as well as building a pre-designed house.  
Please note the problem is in the design phase of a custom building: for example I cannot lay foundations when I use the design tool.

The code is listed below when I try and build a pre-designed house:

develop-2998 (x64)  
stonehearth/lib/build\_util.lua:542: assertion failed!  
stack traceback:  
[C]: ?  
[C]: in function 'assert’  
stonehearth/lib/build\_util.lua:542: in function 'unpack\_entity\_table’  
stonehearth/components/floor/floor\_component.lua:104: in function 'load\_from\_template’  
stonehearth/lib/build\_util.lua:112: in function 'load\_structure\_from\_template’  
stonehearth/lib/build\_util.lua:120: in function 'load\_all\_structures\_from\_template’  
stonehearth/lib/build\_util.lua:124: in function 'load\_all\_structures\_from\_template’  
stonehearth/lib/build\_util.lua:434: in function 'restore\_template’  
stonehearth/services/server/build/build\_service.lua:1503: in function 'build\_template’  
stonehearth/services/server/build/build\_service.lua:1494: in function 'cb’  
stonehearth/services/server/build/build\_service.lua:1469: in function 'do\_command’  
stonehearth/services/server/build/build\_service.lua:1493: in function \<stonehearth/services/server/build/build\_service.lua:1491

Thanks

---

<div class="post-metadata">

**Author:** ![yshan](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/yshan/32/18457_2.png) [@yshan](https://discourse.stonehearth.net/u/yshan)\
**Post date:** [June 9, 2016, 12:40am UTC](https://discourse.stonehearth.net/t/cannot-build-and-design-a-house/22759/2 "2016-06-09T00:40:34Z")

</div>

Hi,  
What predesigned house are you looking at? Is it a custom template you made yourself or something the game provided as a template? If it is a custom template, it’s possible that template has become corrupted somehow … (if so, please upload the template). If it is something that the game provided (like one of the ascendancy houses), please let me know which house.  
Thanks  
-Yang

---

<div class="post-metadata">

**Author:** ![Greystorm123](https://avatars.discourse-cdn.com/v4/letter/g/57b2e6/32.png) [@Greystorm123](https://discourse.stonehearth.net/u/Greystorm123)\
**Post date:** [June 9, 2016, 7:29am UTC](https://discourse.stonehearth.net/t/cannot-build-and-design-a-house/22759/3 "2016-06-09T07:29:12Z")

</div>

Hi Yang,  
It affects both custom and game provided templates. When I try and select a template and place it down on the ground it just disappears and the code that I posted pops up. Also I cannot do anything on the design builder itself - it just disappears when I try and place it on the ground too.

Cheers

---

<div class="post-metadata">

**Author:** ![Greystorm123](https://avatars.discourse-cdn.com/v4/letter/g/57b2e6/32.png) [@Greystorm123](https://discourse.stonehearth.net/u/Greystorm123)\
**Post date:** [June 12, 2016, 12:55pm UTC](https://discourse.stonehearth.net/t/cannot-build-and-design-a-house/22759/4 "2016-06-12T12:55:52Z")

</div>

EDIT: I have figured out the problem.  
It seems that if I try to build the custom file first it just causes the whole build tool to fail. However it works fine if I just don’t try and build the custom template.  
I hadn’t realised this earlier and so always tried to build the custom first.
