2D sprites Overlaping

Im very new to unreal 4 so i decided to use the 2DsideScrollerBP for a template. When i added my background’s i ran into a problem where they overlap as soon as i click play.

Didn’t know if it was something to do with my camera setup or the sprites them self.

Question:
Are you using the UnlitTranslucentSpriteMaterial for your sprites?

If so, you have a translucent sorting issue.

Try going to Project Settings
Rendering
Translucency
Translucent Sort Axis

I have no idea what axis is you’re using for depth so I cannot suggest which axis values you should input to get things to sort properly.

2 Likes

For those who encounter this problem, as it’s answered above, you have to open Project Settings-> Engine → Rendering → Translucency → Translucent Sort Policy and change it from “Sort by Distance” to “Sort Along Axis”.