The navigation system can't find a path to a point inside the navmesh

I’ve used pretty much every method and every overload I could find, but I can’t get it to work. I’m trying to make my AI character move to a random point in the navigation mesh. If I just set him to go to a location without any checks he goes there no problem(as long as the location is valid), but if I try to guarantee a valid location it just doesn’t work. GetRandomPointInNavigableRadius and GetRandomReachablePointInRadius return (0,0,0) 100% of the time, FindPathToLocationSynchronously returns null 100% of the time and I even tried to check it inside the behavior tree with the ‘Does path exist’ decorator, which also returns false 100%.

Here’s a bunch of code if it helps(it’s a mess after all the iterations it went trough):

Controller.h

Controller.cpp

Character.h

Character.cpp

EDIT: I managed to make it work using AAIController::MoveToLocation and checking the return value, but I still have no idea why all the other methods I’ve used never work :confused: