Suggestions for optimizing AI's underlying pathfinding algor

Hello, developers, the recent performance patch for the game FPS has a great improvement, and the game is running very smoothly, which is good. I am a single player, I often fight agAInst AI, but in the process, I found that AI behavior may trigger access violations. This will make the game crash, AI is a good game partner, But persistent underlying AI problems can lead to challenges in game performance and experience, on larger maps, AI will be too far away or obstacles can not attack a valid target or reach the designated area, This happens especially on 12-person maps like Icecrown and Emerald Gardens, perhaps, You can consider optimizing the AI module later, thanks again for your attention :smiling_face_with_sunglasses:

Configuration: Game version 2.0.4, using AMAI script, map [Icecrown], 6 Undead vs 6 Night Elves.

Phenomenon: In the later stages of the game (when the undead are about to win), the game disappears and returns to the desktop without any error window.

Reproduction steps: 1 Newly launched game; 2. Load the above map and configuration, and enter as an observer; 3. Play the game normally until later.

My guess: After investigation, we have ruled out issues with the operation mode (non continuous restart) and video memory leakage. Suspected to be related to the pathfinding processing defects of massive units in the remastered version on the big map. I hope developers can pay attention to and optimize the underlying pathfinding algorithm.

1 Like

This sounds like a pathfinding issue. On large maps with lots of units, AI may backtrack repeatedly when it can’t find a valid path, which can overload the system and cause crashes. Optimizing the pathfinding algorithm, collision handling, or caching paths could help prevent this in late-game scenarios.

1 Like

Maybe that’s why, but I almost always crash late in a game, 12 ai maps such as icecrown and Emerald Gardens, and other larger maps larger than 300, Also, human and orc ai are often unable to collect gold because of the poor location of the expansion hall. Developers should be able to solve these problems :smiling_face_with_sunglasses: