Error when editing the building template or when in custom design mode

Title:
error when editing the building template or when in custom design mode

Summary:
I get an error when editing a building or when creating a building in custom design mode. if i place manual walls or slabs sometimes i receive an error. This also happen when i just click the building again.

Steps to reproduce:

  1. place a floor next to the building you want to edit
  2. normal walls can’t be placed while extending the existing building; i have used manual walls (errors pops-up after placing a few manual walls)
  3. error after placing the second wall.

Expected Results:
my expectation was to extend the existing building (dining hall) with a few new walls and a roof. Place a few crates and all the cooking equipment to finalizing the dining hall.

Actual Results:

Building designer error

release-489 (x64)
Uncaught TypeError: undefined is not a function
TypeError: undefined is not a function
at SimpleClass.extend.copyMaterials (http://radiant/stonehearth/ui/game/modes/build_mode/building_designer_2/grow_roof_tool.js:266:66)
at SimpleClass. (http://radiant/stonehearth/ui/game/modes/build_mode/building_designer_2/building_designer_base.js:535:24)
at Function.jQuery.extend.each (http://radiant/stonehearth/ui/root/js/libs/jquery-1.10.2.js:665:23)
at App.StonehearthBuildingDesignerBaseTools.App.View.extend._updateControls (http://radiant/stonehearth/ui/game/modes/build_mode/building_designer_2/building_designer_base.js:530:12)
at null._updateSelection (http://radiant/stonehearth/ui/game/modes/build_mode/building_designer_2/building_designer_base.js:485:12)
at applyStr (http://radiant/stonehearth/ui/root/js/libs/ember-1.8.1.js:19689:29)
at sendEvent (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)
at propertyDidChange (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)

Notes:
Additional to this issue, is that adding a roof isn’t possible.
I use F5 every time to reset the UI.

I couldn’t find a topic that was almost the same or the topic was to old.

Additional question, is it possible to upload logs from the game? I saw that most of the things what the game does and what i do is logged; I have found the stonehearth log which i can upload.

Attachments:

Version Number and Mods in use:
release-489 (x64)

System Information:
Windows 10 Pro 64-bit
Intel Core 2 Quad Q9550 @ 2.83GHz
Gigabyte Technology Co. Ltd. EP45-UD3LR (Socket 775)
4095MB NVIDIA GeForce GTX 770 (MSI)

Error when placing slabs. can’t build anymore; hitting f5 and close error permanently doesn’t work.

steps to reproduce
Use manual walls or slabs error will eventually come.

Expected Results:
Placing slabs to the wall to connect with another wall, accidentally clicked somewhere else and the error pops-up

Actual Results:
Error when placing slabs
release-489 (x64)
radiant/modules/entities.luac:105: attempt to index local ‘entity’ (a nil value)
stack traceback:
[C]: ?
radiant/modules/entities.luac:105: 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:304: in function ‘do_command’
stonehearth/services/server/build/build_service.luac:50: in function <stonehearth/services/server/build/build_service.luac:49>

release-489 (x64)
c++ exception: lua runtime error
stack traceback:

after hitting f5; the error doesn’t go away

release-489 (x64)
…hearth/services/server/build/build_undo_manager.luac:6: assertion failed!
stack traceback:
[C]: ?
[C]: in function ‘assert’
…hearth/services/server/build/build_undo_manager.luac:6: in function ‘begin_transaction’
stonehearth/services/server/build/build_service.luac:303: in function ‘do_command’
stonehearth/services/server/build/build_service.luac:50: in function <stonehearth/services/server/build/build_service.luac:49>

Attachment

Notes
Only reload savegame will help

Hey ! Building problems are known and yeah, they are a huge pain in the a…neck. If you don’t want to wait for the next version, stick to the already built templates, it should work.
Anyway, I don’t remember of a UI error for the buildings, let’s call our super @moderators :sunglasses: