Hello. I can’t figure out what the problem is. in the picture one house before the snow, the second after the snow. Although all the houses are on the same prefab, which is at position -1. BG snow itself is at position 0. why is one house in front of the snow, the second behind? how to be treated?
The answer will lie somewhere in your sorting layer and sorting order settings on the sprites.
Three (3) ways that Unity draws / stacks / sorts / layers / overlays stuff:
In short,
-
The default 3D Renderers draw stuff according to Z depth - distance from camera.
-
SpriteRenderers draw according to their Sorting Layer and Sorting Depth properties
-
UI Canvas Renderers draw in linear transform sequence, like a stack of papers
If you find that you need to mix and match items using these different ways of rendering, and have them appear in ways they are not initially designed for, you need to:
- identify what you are using
- search online for the combination of things you are doing and how to to achieve what you want.
There may be more than one solution to try.
Additional reading in the official docs:

