Bounds tilemap collider

Hi, I’m using AstarPath.active.UpdateGraphs(bounds_door) to refresh gridgraph when I open a door, and runs perfect. The bounds_door are bounds of a collider2d (GetComponent().bounds)
But If I try same with a tilemapcollider ( (GetComponent().bounds)), it not runs. Do I have to do any extra steps?

Solved. I was using a composite collider, then I need this bounds.

Regards

1 Like