Unnecessary rotations

  • A* version:4.2.19
  • Unity version:2022.3.7
    20250312125431_rec_
    When I set the destination and the character starts moving, unnecessary rotations always occur. For example, as shown in the picture, the character sometimes rotates 270 degrees counterclockwise instead of rotating 90 degrees clockwise as intended, which is very counterintuitive. Could you please tell me where I can adjust this?

Which movement script are you using, if any?