#1914 closed defect (fixed)
Units often refuse to mine metal and stone
Reported by: | Pippijn van Steenhoven | Owned by: | Itms |
---|---|---|---|
Priority: | Should Have | Milestone: | Alpha 19 |
Component: | UI & Simulation | Keywords: | pathfinding |
Cc: | Patch: |
Description
Since alpha 13, worker units sent to mine metal and stone now, more often than not, move to the mine, but then stop and just stand there. It happened with the metal mine on a generated map and both types of mines on Death Canyon 3.
Attachments (3)
Change History (29)
comment:2 by , 11 years ago
It should not happen unless the mine is full though. I haven't encountered this: do you have a specific procedure to reproduce the issue? Or a savegame with the issue?
Note also that Death Canyon 3 starts with champion units who can't collect resources, so that will trigger said behavior.
comment:3 by , 11 years ago
The Death Canyon 3 issue was indeed due to champion units. However, I have been able to reproduce it in the attached savegame. After some minutes, one metal miner will stop, apparently because it is blocked by other miners. Later, other miners will probably also stop. The more severe issue of miners refusing to even start working could not yet be reproduced. If I encounter that issue again, I will add another savegame.
comment:4 by , 11 years ago
Happened to me too. I will try to reproduce to get some data. I also had merchant ships refusing to trade, I don't know if it's related (could be related to the "ships blocking each other" issue).
comment:8 by , 11 years ago
Milestone: | Backlog → Alpha 14 |
---|
comment:11 by , 11 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
by , 11 years ago
Attachment: | commands.txt added |
---|
comment:12 by , 11 years ago
Milestone: | Alpha 14 → Alpha 15 |
---|---|
Resolution: | fixed |
Status: | closed → reopened |
I saw something like this in a multiplayer game with A14. I had tasked units to gather from a metal mine. After some time, 3-4 of my miners were standing around idle. It didn't seem related to gatherer limits, more likely a pathfinding issue. I'm reopening and attaching the commands.txt from the game.
comment:13 by , 10 years ago
Milestone: | Alpha 15 → Alpha 16 |
---|---|
Priority: | Release Blocker → Should Have |
Given Ben's input above, I'm moving this to A16 as a "should have".
comment:16 by , 10 years ago
Hi stan, it has nothing to do with the AIs, but with UnitAI, and certainly because of the pathFinder: in comment 12, it happened to historic_bruno who is hopefully not a bot :)
comment:18 by , 10 years ago
Milestone: | Alpha 17 → Alpha 18 |
---|
Pushing this since it's likely related to the pathfinder and won't be fixed individually.
comment:19 by , 9 years ago
Keywords: | pathfinding added |
---|
comment:20 by , 9 years ago
Milestone: | Alpha 18 → Alpha 19 |
---|
comment:23 by , 9 years ago
I don't know. The problem is that units can get stuck or stop without reason, regardless of mining metal and stone. So marking as invalid might be nice, but maybe the bug is still present somewhere.
I'd like to leave this ticket as it is, and push it at the last minute if nothing is done until then.
by , 9 years ago
Attachment: | commands.2.txt added |
---|
I watched AI play on that map and units would often get stuck moving in the void, don't know if it's directly related, but they would bogus in front of trees or CC
comment:26 by , 9 years ago
Milestone: | Backlog → Alpha 19 |
---|
I think that the unit motion change I just committed should get rid of such situations.
I believe this is due to r13277 and r13288.