unity box collider 2d vs edge collider performance code example
Example: Edge collider 2d won't collide
//Edge colliders do not collide with each other
//Try Polygon 2D
//Edge colliders do not collide with each other
//Try Polygon 2D