I have a 2D game and the camera view is showing solid lines around cubes when the game is playing. However in the scene view it looks fine, Is there a way to have the same camera view as the scene?
Yes, in the camera settings set "projection" to "Ortographic"