There is a significat performance impact if AI has to move somewhere or is in combat.
Description
Details
- Legacy ID
- 3113576519
- Severity
- Major
- Resolution
- Fixed
- Reproducibility
- Always
- Category
- AI Issues
AS some people have already reported the latest DevBuilds seem to have some Performance issues.
The First affected Build was the one that broke the helicopter showcase.
Here is what I found:
You alone in the Editor:
Everything is fine
You+AI Group without orders:
Everything is fine, FPS drops a little
You+AI Group without Orders but you kill a few of them to make them go into combat mode.
FPS drops, stuttering
You+AI Group with Move Waypoint
FPS drops, stuttering occurs.
You VS. AI Group
FPS drops, stuttering occurs
AI group VS. AI group
Barely playable due to serious FPS drops and heavy stuttering.
Strange: The game won´t recover if you kill all AI, there will still be stuttering and bad FPS.
Conclusion: The stuttering occurs as soon as the AI has to do some pathfinding, I think the problem might be in there. But why doesn´t it recover after I kill them all?
@Suma, do you remember that once there was a stuttering problem with one of the Arma 2 Beta Patches?
You gave us a Beta with an included Debug console to record what the AI does, would this be of any help with this problem?
Event Timeline
I have also noticed substantial hitching/stuttering (though its more of a slowdown and speedup in framerate which runs on a regular cycle) in latest dev build even if you just place a civilian offroad on a road with yourself as a passenger, then put a move waypoint with 'careless' and 'fast' there has been a substantial degredation in performance between initial alpha release and latest build.
Additional to last note: It does NOT happen when the same is done with one assault boat with player as passenger. This would point to something to do with land pathfinding.