Summary:
I created a custom building and when I try to press on “Finished Editing”, then my hearthling won’t start to build. When I click on the building again, it tells me I still have to press “Finished Editing”. When reloading the game, an error message appears. See:
release-566 (x64)
…onehearth/components/building/building_component.lua:386: attempt to index local ‘entity’ (a nil value)
stack traceback:
radiant/modules/common.lua:237: in function ‘report_traceback’
radiant/modules/common.lua:248: in function <radiant/modules/common.lua:242>
…onehearth/components/building/building_component.lua:386: in function ‘_trace_entity’
…onehearth/components/building/building_component.lua:145: in function ‘_restore_structure_traces’
…onehearth/components/building/building_component.lua:94: in function ‘obj’
radiant/modules/events.lua:75: in function ‘instance’
radiant/modules/events.lua:227: in function <radiant/modules/events.lua:221>
[C]: in function ‘xpcall’
radiant/modules/common.lua:257: in function ‘xpcall’
radiant/modules/events.lua:221: in function <radiant/modules/events.lua:187>
Steps to reproduce:
- Haven’t tried to reproduce the bug on a different building, but reloading didn’t help
Expected Results:
When I press “Finished Editing” it should trigger my hearthlings to start building
Actual Results:
I click on “Finished Editing” and it doesn’t trigger my hearthlings to start building. Instead, I can click on “Finished Editing” over and over again, without anything happen.
Attachments:
Savefile: SH_Save_FinishedEditingError.7z (3.8 MB)
Version Number and Mods in use:
Alpha 17, Release 556