[2.0.76] Team production - placing pattern cause on_marked_for_deconstruction crash.
Posted: Sun Apr 19, 2026 6:36 pm
I attached a video showing this error.
What did you do?
Playing team production
Having 2 filled inserted into the ground with the space needed to place a furnace
What happened?
Placing the furnace using drones caused the scenario to output a lua error.
What did you expect to happen instead? It might be obvious to you, but do it anyway!
For the furnace to be place without crashing my game.
Does it always happen, once, or sometimes?
Always repeatable.
Save => bug to report.zip (red team, it's the save used in the video)
Log => factorio-current.log
What did you do?
Playing team production
Having 2 filled inserted into the ground with the space needed to place a furnace
What happened?
Placing the furnace using drones caused the scenario to output a lua error.
Code: Select all
The scenario level caused a non-recoverable error.
Please report this error to the scenario author.
Error while running event level::on_marked_for_deconstruction (ID 28)
__base__/script/team-production/team_production.lua:1085: bad argument #3 of 3 to '__index' (string expected, got nil)
stack traceback:
[C]: in function '__index'
__base__/script/team-production/team_production.lua:1085: in function 'handler'
__core__/lualib/event_handler.lua:72: in function <__core__/lualib/event_handler.lua:70>
For the furnace to be place without crashing my game.
Does it always happen, once, or sometimes?
Always repeatable.
Save => bug to report.zip (red team, it's the save used in the video)
Log => factorio-current.log