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:
Build the building (the pictures should show how the building is)
The building will stop with the double doors and windows on the side of it also not building.
Delete the door and try to place it again, but a wall shows up instead.
Try to build the wall
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
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>
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 !
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:
Save your build as a template in game.
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\
Navigate to the building templates stored in \saved_objects\stonehearth\building_templates
Locate the .json file for your template. For example, if you wanted to upload the “Clay Dining Room” template, find clay dining room.json.
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.
Compress the .json file to a .zip file.
Right-click the file you wish to zip.
Left click Send to.
Left click Compressed (zipped) folder
Hit Enter on your keyboard.
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