I moved my unit back to the city I had conquered, and which contained three of my units (confirmed afterwards). I had to fight an army of raiders to get in. Fortunately, Alchemy+Warlord Wolf Riders are handy like that.
This probably needs more details. There appears to be a bug where dead raider units stay on the map, and continue to move and "attack", although once on the battlefield, they do nothing, do not have a visible sprite, and have zero HP. They can still be detected with mouse-over, and the auto-battler fights them as normal. However, only melee attacks dispatch them from the battlemap. This does not remove them from play.
The same bug occurred today, in a local game this time; the first time I conquered a neutral city. My units killed two cavalry and a swordsmen. The next turn, they moved out of the city, and then back in. On the battlefield, they had no visible sprite, and zero HP. After killing those units again, they moved out of the city...
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.