'Why do certain sprites ,look as if they're further back in the window?

I am learning how to make games using unity, i have used free sprite packs from unity's store. i have selected each individual sprite and changed its z position to 0, but when the game runs it looks completely different to how it looks in the editing window. please help. Here is a video I recorded. https://youtu.be/2hb9m01PQBk



Solution 1:[1]

Are your sprites on a prefab, or children of another game object? The Transform of the parent object affects the transform of all children.

Solution 2:[2]

It looks like this is a camera problem. Your camera is set to perspective, it is possible to do parallax backgrounds with a perspective camera and you may have already accomodated for it, but that is the first thing I would check.

You can modify this by going to your Main Camera and selecting Orthographic from the Projection drop-down menu.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 James Wallace
Solution 2 BreakingBeaker