Bug When Removing a Building

Removed Building got an Engine Error

Steps to reproduce:

  1. Design and Almost complete a building
  2. Click on the building in design mode
  3. Click Remove

Expected Results:
Healthlings start to remove building

Actual Results:
Engine error, with multiple graphical glitches, Hearthlings do start to dismantle building

Attachments:
Engine Error:
release-656 (x64)std::logic_error: 'invalid reference in native get_id’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 'get_id’
radiant/modules/entities.lua:286: in function ‘get_world_grid_location’
…onehearth/components/building/building_component.lua:603: in function 'fn’
radiant/controllers/nonpersistent_timer.lua:56: in function 'fire’
radiant/controllers/time_tracker_controller.lua:82: in function <radiant/controllers/time_tracker_controller.lua:82>
[C]: in function 'xpcall’
radiant/modules/common.lua:257: in function 'xpcall’
radiant/controllers/time_tracker_controller.lua:82: in function 'set_now’
radiant/controllers/time_tracker_controller.lua:103: in function 'increment_now’
radiant/modules/timer.lua:13: 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:398: in function '_trigger_gameloop’
radiant/modules/events.lua:446: in function '_update’
radiant/server.lua:62: in function <radiant/server.lua:58>

Version Number and Mods in use:
Release-656

System Information:
i7-5930K
32 Gb DDR4
GTX 980Ti
Windows 10

Welcome to the forum, @Leon_Pennington :slight_smile:

Could you upload your savefile so we can take a better look?

To upload a save, locate the folder in
C:\Program Files (x86)\Steam\steamapps\common\Stonehearth\saved_games (assuming a default Steam install), zip the individual save’s folder (not the entire saved_games folder), and upload it. If the *.zip is less than 10 MB, feel free to upload it directly to the Discourse. If larger, please upload it to a cloud storage site like Dropbox, Google Drive, File Dropper, etc. and post the sharing link here.

2 Likes

The save game is at 1474295863093.zip - Google Drive