Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#5529 closed defect (fixed)

Units idling in GATHER APPROACHING and RETURN RESOURCE

Reported by: elexis Owned by: wraitii
Priority: Must Have Milestone: Alpha 24
Component: Simulation Keywords: regression
Cc: Patch: Phab:D2120

Description

In this danubius 3v3 replay with r22537, at minute 5 I build a storehouse in front of my CC, very close to the trees with many units around (so a pathfinding stresstest) and it resulted in units walking around for half a minute and then standing around doing nothing while being in GATHER APPROACHING and RETURN RESOURCE states until I found them and ordered them to do something else.

Attachments (2)

commands.txt (602.6 KB ) - added by elexis 5 years ago.
screenshot0609.jpg (1.6 MB ) - added by elexis 5 years ago.

Change History (6)

by elexis, 5 years ago

Attachment: commands.txt added

by elexis, 5 years ago

Attachment: screenshot0609.jpg added

comment:1 by wraitii, 5 years ago

Owner: set to wraitii
Patch: Phab:D2120

comment:2 by wraitii, 5 years ago

Priority: Release BlockerMust Have

I don't think this is a release blocker per-se, so downgrading to Must Have:

  • This is sort of an extension of the case where units try to gather from an unreachable tree, which already happened before A23, and it's a pretty rare occurrence.
  • It's also technically not a new issue since it could happen before A23, though it's probably more likely now.
  • It's also self-fixing since the units would have carried on gathering once the offending tree was cut off.

comment:3 by wraitii, 5 years ago

Resolution: fixed
Status: newclosed

In 22816:

Improve gathering behaviour when a target is not reachable

Units can be stuck in gather states when the target ought to be collectable from, but it's actually unreachable.

A new FINDINGNEWTARGET intermediate state for GATHER will try and find a new, different target to collect from. This should generally improve the behaviour (perfect reachability checks would be required to completely fix it).
Use this also when the target is knowably unreachable / uncollectible.

Fixes #5529

Differential Revision: https://code.wildfiregames.com/D2120

comment:4 by elexis, 5 years ago

Keywords: regression added
Note: See TracTickets for help on using tickets.