Stop player from pushing tilemap

How to stop player from pushing tilemap. First of all, I set the tilemap rigidbody to dynamic with zero gravity. I know that you have to put it on kinematic to avoid pushing. But the thing is, if I put the tilemap on kinematic, my player won’t detect collision with the tilemap. So basically I want to check collision between player and tilemap but at the same time I don’t want player to push the tilemap. Is there any other ways to solve this?

Unless you are doing something really unusual then your tilemap probably doesnt want to ever move, so it shouldnt have a rigidbody on it at all. Remove the rigidbody from the tilemap and it cant be moved. The player can still collide with it if it has a collider, so long as the player has a rigidbody