When I build game its zoomed in

My game looks perfect when im in unity, but when I build the game its really zoomed in, and I can walk outside the game camera. ive tried to change the aspec ratio but that does nothing and the game is still zoomed in, but only in the built version of the game.

Edit: So i fugured out that in the build mode all my scenes where the camera follow the player are exactly the same from unity but the ones where the camera is still are zoomed in. I have no idea why it would zoom in only for the ones not follow the player

If the problem is cutting off the sides,
set the screen resolution wider (or taller) in your Player Settings in Build Settings.