My character is passing through "wall" 2D colliders

Player Game Object:

  • Rigidbody 2D attached
  • Body Taype is Dynamic

Wall Game Object:

  • Tilemap Collider 2D attached
  • used by composite
  • Rigidbody 2D attached
  • Body Type is Static
  • Composite Collider 2D attached

I’m moving my Player by Rigidbody2D.MovePosition, in Layer Collision Matrix all layers see each other, although my character is still passing through Wall Game Object

OnCollisionEnter2D does not work too