I know this problem with the tilemap collider from an earlier game of mine. Did you try to check the "Used By Composite" in the tilemap collider 2D and add a Composite Collider 2D to the tilemap game object? This fixed it for me,