[2.0.51] Crash rendering corpse with animations removed

This subforum contains all the issues which we already resolved.
Osmo
Long Handed Inserter
Long Handed Inserter
Posts: 64
Joined: Wed Oct 23, 2024 12:08 pm
Contact:

[2.0.51] Crash rendering corpse with animations removed

Post 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 15 times
3. Unpause time. Game crashes presumably due to corpses being created
factorio-current.log
(13.91 KiB) Downloaded 20 times
Rseding91
Factorio Staff
Factorio Staff
Posts: 15685
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [2.0.51] Crash rendering corpse with animations removed

Post by Rseding91 »

Thanks for the report. This is now fixed for the next release.
If you want to get ahold of me I'm almost always on Discord.
Post Reply

Return to “Resolved Problems and Bugs”