I am trying to add a collider to a gameobject that is using AIPath to move towards a target on a GridGraph. The collider is for physics separate from the pathfinding.
When I add a collider of a certain size, the gameobject no longer moves because it does not find a path. When I leave the collider at the default 1x1x1, it works fine. However, when I increase the size, it does not work.
The object I am trying to add the collider to is a gameobject with many children gameobjects with meshes.
Make sure that collider is excluded from the height testing and collision testing masks in the grid graph settings. Otherwise the NPC will be treated as an obstacle.