If I comment out this section of data-updates no more crashes:
--[[
for _, spawner in pairs(data.raw["unit-spawner"]) do
removeAutoplace(spawner)
end
for _, turret in pairs(data.raw.turret) do
if turret.subgroup == "enemies" then
removeAutoplace(turret)
end
end
]]--
Assume that is part of the 2.0.4 vanilla spawning fix?