[2.0.76] Crash creating loader with stack size override via console
Posted: Mon Apr 06, 2026 1:53 pm
when running via console create_entity to make a loader (from loaders-modernized mod) that have a stack size override enabled and passing a stack size override value the game crashes. Creating that loader without that parameter works fine and setting that parameter on live entity works fine.
Factorio version: experimental 2.0.76
List of mods:
Repro:
1. Load save
2. Run this command in console:
3. ...
4. Profit?
Save, dump and log attached
Attached save is small test world via editor extensions testing scenario with just the mods that i think are linked to the crash
Factorio version: experimental 2.0.76
List of mods:
Repro:
1. Load save
2. Run this command in console:
Code: Select all
/c
local p = game.player
local s = p.surface
local pos = p.position
s.create_entity{name="mdrn-loader", position={pos.x+2, pos.y}, direction=defines.direction.north, force=p.force, type="output", belt_stack_size_override=1}4. Profit?
Save, dump and log attached
Attached save is small test world via editor extensions testing scenario with just the mods that i think are linked to the crash