Unciv
Unciv copied to clipboard
Automated workers get lost in the ocean
Is there an existing issue for this?
- [X] I have searched the existing issues
Game Version
4.10.11 (Build 970)
Describe the bug
Automated workers kind of get stuck in the middle of oceans between two landmasses where you have cities. They just go back and forth every other turn and never make it back to land unless you turn off their automation.
Steps to Reproduce
- Make cites on two landmasses separated by an ocean.
- Make a bunch of workers in one of the landmasses.
- Set the workers to automated
- After they build up one landmass they'll start across the ocean to go to the other landmass.
- But they'll get stuck in the middle of the ocean and just cycle between two positions every other turn.
Screenshots
Link to save file
No response
Operating System
Android
Additional Information
I usually play games with very large worlds if that is a factor.
A save game would be very helpful. This seems like a hard problem to fix.
They might be looking for unimproved tiles, which get taken by workers closer to the tile. In that case, I had already thought of a solution that would be a very good fix, but it also add a lot of complexity. Hence why I haven't tried to implement it yet.
I think I have replicated this. It will take a while to debug once I have started. I'll see when I can get to it. I might have a very in-depth solution but will take a while to implement and test.
I have noticed this too in games (no mods) where I have 1 or 2 workers around every city on automation mode. Sometimes they just go into the sea and freeze there, until I stop automation, move them to land and put them into automation mode again...
Will try to post a save file where this happens next time I notice it in one of my games.
This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 15 days.
This issue was closed because it has been stalled for 5 days with no activity.