I've been trying to reproduce this issue but have not succeeded yet. I am still investigating
Could it be a difference in Go runtime? It's happened in 4/4 of the last games I played, one of which was here. I'm using the Go runtime from winget; I don't know if the version here on Itch.io uses the local Go install, or a self-contained one. It does generally take a while to show up; I fought a few dozen raiders before these latest two decided to glitch. Also they are a cavalry and a swordsmen, but that's probably not related. Those are very common units.
perhaps check for and delete units with zero HP each turn as a quick fix?
It seems like three different instances of this bug so far, then:
- Dead units lingering permanently.
- Dead units lingering for one or two rounds.
- Just encountered now in a local game: I conquered a Beastmen city, and there was a blank unit icon background in the army list on the overland map; there was no actual icon on it, just the background. When I clicked on this unit, the game crashed to desktop, no error message.
I tried again on a Bazzite laptop. Spent a while building Dwarf cities on Myrror; over hundreds of turns and regular attacks from raiders, no glitch. I conquer a neutral town, and 4-5 battles later, the glitch happens. The trigger seems to be conquering a neutral town on Myrror; I have not seen it otherwise. I'm not sure if it's the first town I conquer, or at random. I don't think it has anything to do with the race of the town; it's happened with towns of multiple different races. I don't know if it only happens if the town has defenders when I take it.