Bad argument #1 to 'pairs' (table expected, got nil) - in function 'pairs' & attempt to index a nil value - in function 'report_traceback'

One of my saves has started giving me 2 error messages every time i load it.

release-519 (x64)
...hearth/services/server/build/scaffolding_manager.lua:590: bad argument #1 to 'pairs' (table expected, got nil)
stack traceback:
	[C]: ?
	[C]: in function 'pairs'
	...hearth/services/server/build/scaffolding_manager.lua:590: in function '_get_sblock_regions'
	...hearth/services/server/build/scaffolding_manager.lua:228: in function '_update_ladders'
	...hearth/services/server/build/scaffolding_manager.lua:174: in function <...hearth/services/server/build/scaffolding_manager.lua:173>
release-519 (x64)
...earth/components/fabricator/fabricator_component.lua:1255: attempt to index a nil value
stack traceback:
	radiant/modules/common.lua:214: in function 'report_traceback'
	radiant/modules/common.lua:225: in function <radiant/modules/common.lua:219>
	...earth/components/fabricator/fabricator_component.lua:1255: in function '_set_build_mode'
	...earth/components/fabricator/fabricator_component.lua:765: in function '_stop_project'
	...earth/components/fabricator/fabricator_component.lua:507: in function '_updates_state'
	...earth/components/fabricator/fabricator_component.lua:498: in function 'obj'
	radiant/modules/events.lua:76: in function 'instance'
	radiant/modules/events.lua:209: in function <radiant/modules/events.lua:203>
	[C]: in function 'xpcall'
	radiant/modules/common.lua:234: in function 'xpcall'
	radiant/modules/events.lua:203: in function 'trigger'
	radiant/modules/events.lua:272: in function '_trigger_gameloop'
	radiant/modules/events.lua:323: in function '_update'
	radiant/server.lua:62: in function <radiant/server.lua:58>

A post was merged into an existing topic: Error from moving things?

Both errors seem to be related to building. Did you possibly see these errors earlier when working on a custom building? Sometimes the errors appear on every load as the game looks at what is in the saveā€¦

I cant remember specifically what i was doing when they started popping up, they did continue to show for a while when nothing is building but they stopped. Ill upload the save incase you wanna take a look, ive had some new errors since then.

Laketown.zip (5.7 MB)

1 Like