# 2534 - Floors on multistory buildings cause major slowdown

**URL:** <https://discourse.stonehearth.net/t/2534-floors-on-multistory-buildings-cause-major-slowdown/15342>\
**Category:** Previous Build Reports\
**Created:** [August 7, 2015, 4:08pm UTC](https://discourse.stonehearth.net/t/2534-floors-on-multistory-buildings-cause-major-slowdown/15342 "2015-08-07T16:08:15Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mindemann](https://avatars.discourse-cdn.com/v4/letter/m/258eb7/32.png) [@Mindemann](https://discourse.stonehearth.net/u/Mindemann)\
**Post date:** [August 7, 2015, 4:08pm UTC](https://discourse.stonehearth.net/t/2534-floors-on-multistory-buildings-cause-major-slowdown/15342/1 "2015-08-07T16:08:15Z")

</div>

This doesn’t crash the game, and there’s not error report to send. But when I build the floors on any building more than 1 story high, I get a major slowdown. There’s like a 20 second pause after each block is placed. If I pause construction on the building, things go back to normal, but as soon as I resume the slowdown comes back and makes the game unplayable. Also, I can’t upload anything because I’m a new user, apparently, even though I’ve been playing since the first Alpha. Anyone else having this issue?

---

<div class="post-metadata">

**Author:** ![krbrowning](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/krbrowning/32/45607_2.png) [@krbrowning](https://discourse.stonehearth.net/u/krbrowning)\
**Post date:** [August 7, 2015, 5:37pm UTC](https://discourse.stonehearth.net/t/2534-floors-on-multistory-buildings-cause-major-slowdown/15342/2 "2015-08-07T17:37:25Z")

</div>

is your game 32 or 64 bit?

---

<div class="post-metadata">

**Author:** ![Mindemann](https://avatars.discourse-cdn.com/v4/letter/m/258eb7/32.png) [@Mindemann](https://discourse.stonehearth.net/u/Mindemann)\
**Post date:** [August 7, 2015, 6:19pm UTC](https://discourse.stonehearth.net/t/2534-floors-on-multistory-buildings-cause-major-slowdown/15342/3 "2015-08-07T18:19:28Z")

</div>

It is 64 bit. I’m running on Windows 8.1, with 8 GB Ram and Core i5 processor.

---

<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:** [August 7, 2015, 7:26pm UTC](https://discourse.stonehearth.net/t/2534-floors-on-multistory-buildings-cause-major-slowdown/15342/4 "2015-08-07T19:26:36Z")

</div>

**Hi,**

**I’ve gotten the following error codes trying to place a second-storey floor:**

develop-2534 (x64)  
Uncaught TypeError: Cannot read property ‘active’ of undefined  
TypeError: Cannot read property ‘active’ of undefined  
at null.\_updateSelection ([http://radiant/stonehearth/ui/game/modes/build\_mode/building\_designer\_2/building\_designer\_base.js:453:64](http://radiant/stonehearth/ui/game/modes/build_mode/building_designer_2/building_designer_base.js:453:64))  
at applyStr ([http://radiant/stonehearth/ui/root/js/libs/ember-1.8.1.js:19687:29](http://radiant/stonehearth/ui/root/js/libs/ember-1.8.1.js:19687:29))  
at sendEvent ([http://radiant/stonehearth/ui/root/js/libs/ember-1.8.1.js:14610:13](http://radiant/stonehearth/ui/root/js/libs/ember-1.8.1.js:14610:13))  
at notifyObservers ([http://radiant/stonehearth/ui/root/js/libs/ember-1.8.1.js:17805:9](http://radiant/stonehearth/ui/root/js/libs/ember-1.8.1.js:17805:9))  
at propertyDidChange ([http://radiant/stonehearth/ui/root/js/libs/ember-1.8.1.js:17637:7](http://radiant/stonehearth/ui/root/js/libs/ember-1.8.1.js:17637:7))  
at chainsDidChange ([http://radiant/stonehearth/ui/root/js/libs/ember-1.8.1.js:17733:9](http://radiant/stonehearth/ui/root/js/libs/ember-1.8.1.js:17733:9))  
at propertyDidChange ([http://radiant/stonehearth/ui/root/js/libs/ember-1.8.1.js:17636:7](http://radiant/stonehearth/ui/root/js/libs/ember-1.8.1.js:17636:7))  
at set ([http://radiant/stonehearth/ui/root/js/libs/ember-1.8.1.js:18091:25](http://radiant/stonehearth/ui/root/js/libs/ember-1.8.1.js:18091:25))  
at setPath ([http://radiant/stonehearth/ui/root/js/libs/ember-1.8.1.js:18132:14](http://radiant/stonehearth/ui/root/js/libs/ember-1.8.1.js:18132:14))  
at set ([http://radiant/stonehearth/ui/root/js/libs/ember-1.8.1.js:18047:16](http://radiant/stonehearth/ui/root/js/libs/ember-1.8.1.js:18047:16))

develop-2534 (x64)  
…nehearth/components/building/building\_component.luac:120: attempt to index local ‘entity’ (a nil value)  
stack traceback:  
radiant/modules/events.luac:68: in function \<radiant/modules/events.luac:65\>  
…nehearth/components/building/building\_component.luac:120: in function ‘\_trace\_entity’  
…nehearth/components/building/building\_component.luac:33: in function ‘\_restore\_structure\_traces’  
…nehearth/components/building/building\_component.luac:17: in function 'obj’  
radiant/modules/events.luac:15: in function 'self’  
radiant/modules/events.luac:80: in function \<radiant/modules/events.luac:78\>  
[C]: in function 'xpcall’  
radiant/modules/events.luac:78: in function \<radiant/modules/events.luac:70\>

**I ignored those and made a mistake on my floor design, prompting me to use the eraser tool. I was then presented with this error code:**

develop-2534 (x64)  
radiant/modules/entities.luac:86: attempt to index local ‘entity’ (a nil value)  
stack traceback:  
[C]: ?  
radiant/modules/entities.luac:86: in function 'get\_world\_grid\_location’  
stonehearth/services/server/build/build\_service.luac:130: in function '\_subtract\_region\_from\_floor’  
stonehearth/services/server/build/build\_service.luac:91: in function '\_add\_floor\_type’  
stonehearth/services/server/build/build\_service.luac:81: in function 'add\_floor’  
stonehearth/services/server/build/build\_service.luac:50: in function 'cb’  
stonehearth/services/server/build/build\_service.luac:295: in function 'do\_command’  
stonehearth/services/server/build/build\_service.luac:50: in function \<stonehearth/services/server/build/build\_service.luac:49\>

**This one froze the build UI**
