Bug Reports - While building Wall

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'
	...hearth/services/server/build/scaffolding_manager.lua:242: in function 'remove_scaffolding'
	stonehearth/services/server/build/build_service.lua:1512: in function 'remove_scaffolding'
	stonehearth/components/scaffolding/scaffolding.lua:159: in function '_destroy_immediately'
	stonehearth/components/scaffolding/scaffolding.lua:247: in function '_on_scaffolding_destroy_immediately'
	stonehearth/components/scaffolding/scaffolding.lua:146: 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/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>

Hey there @Erewin_T_A, welcome to the Discourse :smiley:!

You mentioned in your title that this error occurred while building a wall. Do you have more details you can share? Was this a wall for a building, or a free standing wall. Does this error appear to affect gameplay, or is everything still functioning normally? Do you have the save game where the error occurred? If so, can you upload it?

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.

1 Like