[1.1.57] Game hangs after destroying entity scheduled for attack

Post your bugs and problems so we can fix them.
Post Reply
IronBadger
Manual Inserter
Manual Inserter
Posts: 1
Joined: Wed Apr 27, 2022 1:31 am
Contact:

[1.1.57] Game hangs after destroying entity scheduled for attack

Post by IronBadger »

When a unit group attack command has been chained using defines.command.compound, if the entity that is the target of the attack is destroyed before the unit group gets to attacking it, the game hangs. I created a control.lua file that has the minimum amount of code to recreate the problem on a new game. The problem is reproducible on the current steam version with no other mods.

Steps to reproduce:
Copy attached control.lua into a mod folder
Start new game
Press tab to skip cutscene
Wait 15 seconds
Hang will be reproduced after biter kills the first tree
See comments in control.lua for more information on the sequence of events to cause the hang
Attachments
control.lua
(1.6 KiB) Downloaded 290 times
factorio-current.log
(4.61 KiB) Downloaded 292 times

Post Reply

Return to “Bug Reports”