Building Won't Demolish?

Summary:
So i was building a large 2 story storage building a odd bug that not only stops the building, but also won’t let me destroy the building. There was nothing inside the building for I was going to place it manually, but the building was never finished so the inside is empty.

Steps to reproduce:

  1. Build the building (the pictures should show how the building is)
  2. The building will stop with the double doors and windows on the side of it also not building.
  3. Delete the door and try to place it again, but a wall shows up instead.
  4. Try to build the wall
  5. Destroy the building and it will remain

Expected Results:
Building won’t demolish

Actual Results:
Building won’t demolish

Notes:
I’ve tried it 5 times and 2 times it finished somehow and the other gave errors

Attachments:
Front http://i1214.photobucket.com/albums/cc492/wizardjian/20160922160824_1_zpssgz6wxnd.jpg
Back http://i1214.photobucket.com/albums/cc492/wizardjian/20160922160832_1_zpsrrgcbj6x.jpg

Version Number and Mods in use:
Latest Version (9/22/16) and no mods

System Information:

Error Message
release-663 (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>

2 Likes

Thanks @wizardjian! Paging @not_owen_wilson for building-related weirdness :slight_smile:

1 Like

I added the error message I got, hope it helps.

2 Likes

have the same issue.

and a template with the issue in.

http://discourse.stonehearth.net/t/placing-building-template-will-do-nothing-just-placeholders-for-doors-and-windows/25448/8

it fits under a few different bugs…

had it happen twice in the 663 release. both times happened when using undo to remove a wall as faar as i can tell.

1 Like

I have the same issue as well.

And second: When I interrupt the builders by letting them do something else, they completely forget the unfinished building. I tried to demolish and rebuild it but the game won’t let me.

Here’s the bug report:

release-663 (x64)
stonehearth/lib/build_util.lua:361: assertion failed!
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/lib/build_util.lua:361: in function ‘can_start_blueprint’
…earth/components/fabricator/fabricator_component.lua:816: in function ‘_start_project’
…earth/components/fabricator/fabricator_component.lua:605: in function ‘_updates_state’
…earth/components/fabricator/fabricator_component.lua:594: in function 'obj’
radiant/modules/events.lua:83: 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>

Thanks for confirming the report @Aszuna, and welcome to the Discourse :smiley:!

Do you have the save game where this happens, ideally right before or after the error occurs? Also, do you have the building template that caused this?


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.


In order to upload a building template:

  1. Save your build as a template in game.
  2. Open your game directory.
    Default location for a Steam install is:
    C:\Program Files (x86)\Steam\steamapps\common\Stonehearth
    Default location for a Humble install is:
    C:\Program Files (x86)\Stonehearth\
  3. Navigate to the building templates stored in \saved_objects\stonehearth\building_templates
  4. Locate the .json file for your template. For example, if you wanted to upload the “Clay Dining Room” template, find clay dining room.json.
  5. If you created this template in a recent version, you will also have a .png, for bug fixing purposes this is not important and does not need to be included in the .zip.
  6. Compress the .json file to a .zip file.
  7. Right-click the file you wish to zip.
  8. Left click Send to.
  9. Left click Compressed (zipped) folder
  10. Hit Enter on your keyboard.
  11. Upload the file to this thread in the Discourse by clicking the upload button in the editor and navigating to the file, or drag the file into the editor with your mouse.

not sure if it is off help, but both error messages i can get and reproduce by use of the instabuild/insta destroy.

It mainly revolves around building or destroying anything and when the game is rendering it ordering it again. With the destroy you get an error that he can’t find it and with the building its triggered by an template issue.

Seeing i’m massive building with insta command i get these errors frequently and they are always the same mostly with the same cause and result. Not sure how helpfull but it could provide a search direction

1 Like