[2.1.11] Crash when selecting modded-in entity in Factoriopedia (Factoriopedia::generateAmmoCategoryLine 1078)

Bugs which we just recently fixed in our development version and will reach you in the next release.
rullaf
Manual Inserter
Manual Inserter
Posts: 2
Joined: Wed Jul 15, 2026 9:59 pm
Contact:

[2.1.11] Crash when selecting modded-in entity in Factoriopedia (Factoriopedia::generateAmmoCategoryLine 1078)

Post by rullaf »

What happens: A specific new entity added by a mod being selected in Factoriopedia crashes the game every time.

I'm running into this on build 86962 mac-arm64

Setup:
* Factorio 2.1.11 + Space Age 2.1.11 (with Elevated Rails + Recycler)
* mod Suspension Coffin 1.1.0 (https://mods.factorio.com/mod/suspension-coffin)

Repro:
* Start a new singleplayer Freeplay game with default settings
* Open Factoriopedia by clicking the GUI button or option-clicking anything in the game
* Open the Space tab in Factoriopedia
* Attempt to select the “Suspension Coffin” entity, at which point the game crashes
Attachments
factorio-current.log
(14.88 KiB) Downloaded 12 times
Screenshot 2026-07-15 at 23.00.45.png
Screenshot 2026-07-15 at 23.00.45.png (14.32 MiB) Viewed 199 times
rullaf
Manual Inserter
Manual Inserter
Posts: 2
Joined: Wed Jul 15, 2026 9:59 pm
Contact:

Re: [2.1.11] Crash when selecting modded-in entity in Factoriopedia (Factoriopedia::generateAmmoCategoryLine 1078)

Post by rullaf »

Simpler repro

Setup:
* plain Factorio 2.1.11
* land-mine-factoriopedia-crash-repro_0.1.0.zip (attached)

Code: Select all

local entity = table.deepcopy(data.raw["land-mine"]["land-mine"])

entity.name = "land-mine-without-ammo-category"
entity.localised_name = {"", "Land mine without ammo category"}
entity.ammo_category = nil

data:extend({entity})
Repro:
* attempt to open land-mine-without-ammo-category entity in Factoriopedia to experience the crash
Attachments
factorio-current.log
(12.7 KiB) Downloaded 10 times
land-mine-factoriopedia-crash-repro_0.1.0.zip
(1.68 KiB) Downloaded 11 times
User avatar
boskid
Factorio Staff
Factorio Staff
Posts: 4694
Joined: Thu Dec 14, 2017 6:56 pm
Contact:

Re: [2.1.11] Crash when selecting modded-in entity in Factoriopedia (Factoriopedia::generateAmmoCategoryLine 1078)

Post by boskid »

Thanks for the report. Issue is now fixed for 2.1.12.
Post Reply

Return to “Resolved for the next release”