I’m using multiple recast graphs in a single level for different agent types. Per pathfinding graph I can configure a LayerMask so it filters out colliders, this works as expected. However, when I use the RecastMeshObj the GameObject always gets added to all pathfinding graphs, regardless of the GameObjects LayerMask.
I did a bit of digging and it looks like the RecastMeshGatherer.CollectRecastMeshObjs() does not filter on LayerMask. It looks like the RecastMeshGatherer already has support for LayerMasks and it does filter in eg. CollectColliderMeshes().
Could this same filtering also be added to CollectRecastMeshObjs?