How to get path with character avoidance using 'UNavigationSystemV1::FindPathToLocationSynchronously' function?

I’m currently using the ‘UNavigationSystemV1::FindPathToLocationSynchronously’ function to do pathfinding for a character using root motion.

I’m only changing the orientation of the character using the path provided by the ‘UNavigationSystemV1::FindPathToLocationSynchronously’ function since the character uses root motion.

But the function ‘UNavigationSystemV1::FindPathToLocationSynchronously’ does not return a path that avoids other characters.

I need to get a path to dodge other characters.
Any solution for this? Or should I override ‘UCrowdFollowingComponent’?