Engine Error - Building/scafolding stop, error on load

Summary: Building completion breaks

Steps to reproduce:

  1. Construct building
  2. Building does not complete
  3. Save/Load game
  4. 2 Engine Errors occur, noted
  5. Villagers proceed with constructions then stop.
  6. Save/Load game
  7. Repeat until building is complete

Expected Results: Building completion

Actual Results: Building structure is complete but not all items placed (door, forge, anvil, 3 lights)

Notes:
Errors 1 and 2 on first load
release-687 (x64)
…/services/server/build/ladder_builder_destructor.lua:44: attempt to call method ‘get_num_handles’ (a nil value)
stack traceback:
[C]: in function ‘get_num_handles’
…/services/server/build/ladder_builder_destructor.lua:44: in function ‘is_last_handle’
stonehearth/components/scaffolding/scaffolding.lua:558: in function ‘destroy_handles’
stonehearth/components/scaffolding/scaffolding.lua:634: in function ‘_update_ladders’
stonehearth/components/scaffolding/scaffolding.lua:357: in function ‘set_scaffolding_region_as_destroying’
…hearth/components/scaffolding/scaffolding_region.lua:746: in function ‘_start_erasing’
…hearth/components/scaffolding/scaffolding_region.lua:513: in function ‘_maybe_start_erasing’
…hearth/components/scaffolding/scaffolding_region.lua:248: in function <…hearth/components/scaffolding/scaffolding_region.lua:220>

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

Attachments:

Version Number and Mods in use:
No mods
Release-687 (x64)

I got one as well so I will add it to this thread… I hope it is not overlooked!

Summary: Building completion breaks

Steps to reproduce:

-Design multistory custom building
-Building does not complete
-Start several other new games in sandbox to see if the ‘workers’ would glitch about and complete the building

Expected Results: Complete Building

Actual Results: Building structure is complete but not all items placed. Missing items vary per new build effort (sometimes missing door, sometimes missing windows on first floor, sometimes missing plant boxes…)

Notes:
Errors 1 thru 3 received

release-687 (x64)
stonehearth/renderers/ladder/ladder_renderer.lua:31: attempt to index field ‘_vertical_pathing_region’ (a nil value)
stack traceback:
[C]: ?
stonehearth/renderers/ladder/ladder_renderer.lua:31: in function <stonehearth/renderers/ladder/ladder_renderer.lua:8>

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

release-687 (x64)
stonehearth/components/ladder/ladder_component.lua:19: invalid normal (0.00, -1.00, 0.00) in :set_normal()
stack traceback:
radiant/modules/common.lua:237: in function ‘report_traceback’
radiant/modules/common.lua:248: in function <radiant/modules/common.lua:242>
[C]: in function ‘assert’
stonehearth/components/ladder/ladder_component.lua:19: in function ‘set_normal’
stonehearth/services/server/build/ladder_builder.lua:56: in function ‘create’
radiant/modules/common.lua:500: in function ‘create_controller’
stonehearth/services/server/build/ladder_manager.lua:43: in function ‘request_ladder_to’
stonehearth/services/server/build/build_service.lua:1502: in function ‘request_ladder_to’
…earth/components/ghost_form/ghost_form_component.lua:115: in function ‘request_place_item_type’
stonehearth/services/server/town/town.lua:521: in function ‘place_item_type’
…/fixture_fabricator/fixture_fabricator_component.lua:280: in function ‘_request_town_place_item_on_structure’
…/fixture_fabricator/fixture_fabricator_component.lua:247: in function ‘_place_fixture’
…/fixture_fabricator/fixture_fabricator_component.lua:241: in function ‘cb’
stonehearth/services/server/inventory/inventory.lua:589: in function ‘instance’
radiant/modules/events.lua:291: in function <radiant/modules/events.lua:285>
[C]: in function ‘xpcall’
radiant/modules/common.lua:257: in function ‘xpcall’
radiant/modules/events.lua:285: in function ‘trigger’
radiant/modules/events.lua:370: in function ‘_fire_async_triggers’
radiant/modules/events.lua:445: in function ‘_update’
radiant/server.lua:61: in function <radiant/server.lua:58>

@Rakeesh / @MrGunner2You, could you upload the savefiles where those errors pop up?
To upload a savefile:

  1. Find the save folder for the saves you wish to upload. By default, they are located in C:\Program Files (x86)\Steam\steamapps\common\Stonehearth\saved_games (assuming a default Steam install).
  2. Zip the folder.
  3. Right click the folder (should be a long set of numbers).
  4. Left click on Send to in the menu that appears.
  5. Left click on `Compressed (Zipped) folder).
  6. (Optional) Rename the folder to something different than the default set of numbers.
  7. Upload the save.
  8. If the zip is less than 10 MB, you can upload it directly. Either use the upload button or drag and drop it into the compose window,
  9. If larger than 10 MB, upload it to a cloud storage site like Dropbox, Google Drive, File Dropper, etc. and post the sharing link here.
1 Like

Always glad to help. You’ll find both saves zipped into a single file located here: Dropbox - Link not found