Summary:
null/nil on add dependency.
Steps to reproduce:
- Build menu -> custom structure. Mine was merely a 5 tall stair and some slab on top to glue the next rotated stair to.
- With only the stair and glue slabs, start build.
- While still paused, attach a rotated stair to the previous structure.
- Watch the stairs get merged into the previous building, despite saying it can’t be edited (maybe working as intended), and then see an engine error.
Expected Results:
No Error.
Actual Results:
release-701 (x64)
…onehearth/components/building/building_component.lua:1405: attempt to index local ‘entry’ (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:1405: in function ‘_add_dependency’
…onehearth/components/building/building_component.lua:1391: in function ‘add_dependency’
…hearth/components/scaffolding/scaffolding_region.lua:1406: in function ‘precompute’
…omponents/scaffolding/scaffolding_project_volume.lua:319: in function ‘precompute_scaffolding’
…earth/components/scaffolding/scaffolding_project.lua:133: in function ‘precompute_scaffolding’
…onehearth/components/building/building_component.lua:1763: in function ‘_compute_scaffolding_worker’
…onehearth/components/building/building_component.lua:1722: 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>
…
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:61: in function <radiant/server.lua:58>
Notes:
See picture for structure details. Being adjacent to the mining walls (dug with 4x4 mine button) may be relevant.
Attachments:
Version Number and Mods in use:
release-701 (x64). No Mods.
System Information:
Doesn’t matter.