Page 1 of 1

[2.0.72] Crash creating lightning rod without graphics (LightningPriorityCache::getPriority)

Posted: Mon Nov 24, 2025 10:57 pm
by front
I registered this lightning rod, then the game crashed with the log provided. In retro I think it wanted to throw an error because I have no graphics, but crashed instead.

Code: Select all

 {
    type             = "lightning-attractor",
    name             = "corrundum-spawner-lightning-rod",
    efficiency       = 0.0,
    range_elongation = 30,
    icon             = "__corrundum-the-acid-planet__/graphics/icon/spawner.png",
}
factorio-current.log
(78.22 KiB) Downloaded 13 times
edit: got the crash without the rod registered, so no clue what the trigger is. Was loading into an existing save.

Re: [2.0.72] Crash creating lightning rod without graphics (LightningPriorityCache::getPriority)

Posted: Wed Nov 26, 2025 10:20 am
by Genhis
Thanks for the report. How can I reproduce this crash? Your prototype definition seems to work fine and it likely isn't caused by missing graphics definition.