Ok so I did a little debugging, this is quite strange.
Line 156 of data-updates.lua seems to be the problem:
recipe.icon_size = nil
If you remove this line for slag-processing 5 and 6 the game loads fine:
if i<5 then
recipe.icon_size = nil
end
The strange part is that icon_size seems to exist for slag-processing 5 and 6. I threw in a logging statement right before the problem step:
log('DEBUG'..i..': recipe.icon_size='..serpent.block(recipe.icon_size))
And it shows they all exist:
11.481 Script @SeaBlock/data-updates.lua:157: DEBUG1: recipe.icon_size=32
11.481 Script @SeaBlock/data-updates.lua:157: DEBUG2: recipe.icon_size=32
11.481 Script @SeaBlock/data-updates.lua:157: DEBUG3: recipe.icon_size=32
11.481 Script @SeaBlock/data-updates.lua:157: DEBUG4: recipe.icon_size=32
11.481 Script @SeaBlock/data-updates.lua:157: DEBUG5: recipe.icon_size=32
11.481 Script @SeaBlock/data-updates.lua:157: DEBUG6: recipe.icon_size=32
I'm not really that much of an expert on factorio modding or lua, I just started looking into modding today. If that variable exists in the table it should be possible to set to nil right?