Same UPS tank here, I reseted the lab and wrote a script to see if any ghost particle had not despawned, yet Cerys is taking 5x as much update time as the rest of the game. Even after load the lag persists.
Script I used:
local target_name = "cerys-solar-wind-particle-ghost"
local total_removed = 0
for _, surface in pairs(game.surfaces) do
local entities = surface.find_entities_filtered{
name = target_name
}
for _, entity in pairs(entities) do
if entity.valid then
entity.destroy()
total_removed = total_removed + 1
end
end
end
game.print("Removed " .. total_removed .. " entities.")
Any fix? How can I check what else is consuming the CPU?
Edit: Left the game running for some time in idle and apparently it came back to normal, so something must've despawned, dunno what though.