Page 1 of 1

[2.0.51] Crash rendering corpse with animations removed

Posted: Tue May 20, 2025 7:28 am
by Osmo
1. Create a mod with the following code in data-updates.lua

Code: Select all

for _, prototype in pairs(data.raw.corpse) do
    prototype.animation = nil
    prototype.animation_overlay = nil
    prototype.decay_animation = nil
    prototype.splash = nil
    prototype.ground_patch = nil
    prototype.ground_patch_higher = nil
    prototype.ground_patch_decay = nil
    prototype.underwater_patch = nil

    prototype.direction_shuffle = nil
end
2. Load a save file (this is one of gleba menu simulations, the crash can also happen on main menu)
menu-simulation-gleba-farm-attack.zip
(395.12 KiB) Downloaded 17 times
3. Unpause time. Game crashes presumably due to corpses being created
factorio-current.log
(13.91 KiB) Downloaded 23 times

Re: [2.0.51] Crash rendering corpse with animations removed

Posted: Wed May 21, 2025 2:40 pm
by Rseding91
Thanks for the report. This is now fixed for the next release.