Closed SeriousBuggie closed 3 weeks ago
Test map for reproduce: bot_loop_edge.zip Just add one bot.
Also this issue touch physics, since bot can simple jump and not do all this mess. But bot not do this. So I guess it can be also bug in ledge detection and ability jump from ledge during move on walk physics.
If some conditions meet, bots able stuck on edge, and never jump down. They start move in the loop:
https://github.com/OldUnreal/UnrealTournamentPatches/assets/70026933/2b202e0c-ad6c-439d-a30a-69ad0372cf18
There happen next:
There called PickWallAdjust:
, which set destination forward.
But during MoveTo happen another HitWall, since it slide in same way. But now bWallAdjust is set to True, so it just reset MoveTarget and force search paths again. And search paths return exactly same paths as before, so bot walk to start point, and try reach next one. Which close loop, since it exactly same action, what be before.
This loop never ends.