Error building. Attempt to index local 'depe' (a nil value)

I’ve never seen this before, nor could I find it by searching google, so figured I’d throw this up there along with my save and template. It is a custom building, so I wasn’t too surprised when the bug showed up, thinking it wouldn’t let my hearthlings build it, but it won’t even let me console build it either.

Error

develop-2650 (x64)…nehearth/components/building/building_component.luac:344: attempt to index local ‘depe’ (a nil value)stack traceback:
[C]: ?
…nehearth/components/building/building_component.luac:344: in function ‘_compute_inverse_dependencies’
…nehearth/components/building/building_component.luac:122: in function 'set_active’
stonehearth/services/server/build/build_service.luac:39: in function 'set_active’
stonehearth/call_handlers/build_call_handler.luac:5: in function <stonehearth/call_handlers/build_call_handler.luac:5>
develop-2650 (x64)c++ exception: lua runtime errorstack traceback:

Save File
Building Template

1 Like

A post was merged into an existing topic: When i try to build new castle