[2.0.76] Crash when upgrading entity's ghost with minable_flag = false in latency mode

Hanakocz
Long Handed Inserter
Long Handed Inserter
Posts: 55
Joined: Sun Jun 24, 2018 7:06 pm
Contact:

[2.0.76] Crash when upgrading entity's ghost with minable_flag = false in latency mode

Post by Hanakocz »

Hello,

we encountered a crash that can be reproduced in no mods/no scripts settings.

The crash happens to a CLIENT connected to server, and only that one client that tries to do the action. We tried with no mods at all, but very likely should be same on SA.

Steps:
1) Connect to server as a client (cannot be my own multiplayer nor singleplayer - gotta be in latency mode)
2) Have some entities that have minable_flag = false, that are upgradeable (for example belts)
3) Have technology so destroyed entities leave ghosts behind
4) Destroy the entity (by shooting at it or something)
5) Try to upgrade the ghost with upgrade planner (not sure if this action needs to be within the latency nor it doesn't matter on timing)
5) Crash happens

The ghost keeps the minable_flag = false, therefore cannot be upgraded. However somehow in latency mode the upgrade tries to sneak through and that creates the crash.

Added the savefile before action is done on the belts (just freeplay opened, editor spawned some belts, set the flag on them)
Added crash log
Attachments
factorio-current_latency_crash.log
(12.42 KiB) Downloaded 21 times
latency_crash.zip
(1.22 MiB) Downloaded 19 times
Rseding91
Factorio Staff
Factorio Staff
Posts: 16804
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [2.0.76] Crash when upgrading entity's ghost with minable_flag = false in latency mode

Post by Rseding91 »

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

Return to “Fixed for 2.1”