The same ol' game

I’m making a simple packman 2d game. The problem is when I enter the play mode, the object shifts from its original position. This does not happen when I use the “is kinematic” button. But this poses a problem that the packman moves right through the walls and does not collide with them. How do I solve this issue?

Is kinematic will disable the colliders. You are going to have to find a way to fix your original problem or write a script to manually detect collisions.