This error has started popping up recently. The error occurs when trying to place the roof or edit a placed roof. If I save the save and exit the game without finishing the plan- then reload the save I get this second error. Is there a work around or something I can do to solve the problem?
After the initial error occurs I can’t continue to edit the roof (Only in certain directions at first then I can’t edit it at all), finalize the build plan, or remove the building.
Most recent update, 64 bit, Steam game, Vanilla
Initial Error:
release-701 (x64)
…onehearth/components/building/building_component.lua:806: attempt to call method ‘layout’ (a nil value)
stack traceback:
[C]: in function ‘layout’
…onehearth/components/building/building_component.lua:806: in function 'layout_roof’
stonehearth/services/server/build/build_service.lua:1180: in function 'grow_roof’
stonehearth/services/server/build/build_service.lua:1128: in function 'cb’
stonehearth/services/server/build/build_service.lua:1582: in function 'do_command’
stonehearth/services/server/build/build_service.lua:1127: in function <stonehearth/services/server/build/build_service.lua:1125>
release-701 (x64)
c++ exception: lua runtime error
stack traceback:
Error on Reload:
release-701 (x64)
…onehearth/components/building/building_component.lua:727: attempt to index field ‘entity’ (a nil value)
stack traceback:
[C]: ?
…onehearth/components/building/building_component.lua:727: in function ‘_compute_total_structures’
…onehearth/components/building/building_component.lua:130: in function <…onehearth/components/building/building_component.lua:117>
release-701 (x64)
c++ exception: lua runtime error
stack traceback: