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

Post your bugs and problems so we can fix them.
front
Inserter
Inserter
Posts: 22
Joined: Tue Dec 03, 2024 4:54 pm
Contact:

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

Post 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.
Genhis
Factorio Staff
Factorio Staff
Posts: 891
Joined: Wed Dec 24, 2014 8:19 am
Contact:

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

Post 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.
Post Reply

Return to “Bug Reports”