Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Game client lags significantly when AI units try to find waypoints on large maps #531

Open
xezon opened this issue Oct 8, 2021 · 4 comments
Labels
Critical Severity: Minor < Major < Critical < Blocker Executable Is game code related Performance Is a performance concern

Comments

@xezon
Copy link
Collaborator

xezon commented Oct 8, 2021

Game client lags significantly when AI units try to find waypoints on large maps. Easily reproducible on Twilight Flame map by placing a hard AI on top and player on bottom. AI will send units, piles them up on the cliffs, and cause lag spikes.

Explanation of issue from Map Creator perspective:

Replay file with lags:
ai_pathfinding_lag.zip

Game Room setup:
shot_20211007_181933_2

Units clogging and causing lags:
shot_20211007_183248_3

@xezon xezon added Critical Severity: Minor < Major < Critical < Blocker Performance Is a performance concern Executable Is game code related labels Oct 8, 2021
@xezon
Copy link
Collaborator Author

xezon commented Oct 8, 2021

I tried to locate origin of performance issue in profiler, but have not been able to get clean call stacks due the lack of working pdb file.

@xezon
Copy link
Collaborator Author

xezon commented Feb 4, 2023

PredatoR

Twilight flame has wrongly set waypoint paths. That's a big reason why units get stuck near the cliffs.

@ImTimK
Copy link
Collaborator

ImTimK commented Feb 5, 2023

Well it has nothing to do with AI armies, because you can cause this lag yourself aswell as a player on TF. What Predator said is more likely, or it's the waypoint system in general.

@xezon
Copy link
Collaborator Author

xezon commented Jun 10, 2023

Stalls also occur on tricky path finding, such as Dozer trying to drive into box.

generals.2023-06-10.16-52-52-20.mp4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Critical Severity: Minor < Major < Critical < Blocker Executable Is game code related Performance Is a performance concern
Projects
None yet
Development

No branches or pull requests

2 participants