Also, where are the origin points. It helps if the origin and center points are in the center. Otherwise, the pathfinder behavior places the object with an offset because it reads one point’s location and places it at the other. This can push the destination inside a wall, causing the pathfinder to fail.
The ghost object mask should be equal or smaller than the player. The pathfinder object needs to fit completely inside the destination area and path.
Also, the basic pathfinder doesn’t calculate for rotated objects. It uses the width and height which don’t change when rotated. So, you can’t rotate copies of a wall. You need to resize it in the opposite direction.
The nav mesh pathfinder uses the hitbox. It can even be used with a tilemap object if you use the collision for the wall tiles.