Strange 2D Sprite Clipping

Hey all,

I just started out doing 2D stuff with ue4 so if I made an obvius mistake please don’t be angry and just tell me ^^.

I am trying to create a simple 2D game, bought some assets from kenney.nl, imported them, applied the paper2d texture settings, created a sprite and placed them in a blueprint. One sprite is 15 unites infront of the other one. But on some camera angels the sprite that should be in behind gets rendered in the front, as seen in the gifs:

Did I miss something? Or it this a bug? If so is it know and fixed in the latest preview (4.11P4)?

Thanks all

EDIT: I should note that this bug not only applies to the viewport in the blueprint editor but also to the editor viewport and every platform I have deployed to (html5, android, windows)

Are your sprites using a translucent material?

Translucent materials need to have their translucent sort priority manually set.

Try making blueprints based on your environment sprites that include this code:

This is assuming that X is forward and Z is up.
Change which axis you are sorting your sprites on.

Hey! This worked for me! Thank you for the help!