Half of the screen doesn't render sprites

Hello!
I have a small problem.
Half my screen doesn’t render my sprites, they can render planes with textures on them, but not sprites.
In the middle of the screen all the sprites that are there get some strange lines on them.
I can move a spirte into the area where they aren’t visible and back into the area they are visible and the sprite will render correctly until I move them back into the area where they don’t render.

Here’s a picture of it.

Oh and also, this is only the case in builds.
In the Unity editor everything works as it should.

Is there maybe some junk data in the stencil buffer that the sprite shader is using to filter out pixels?

Hi

Can you share your project (or a repro case) and which platform/device is the build having problem with?

Cheers

How would I be able to check that and if so was the case, clean it up?

I will do that as soon as I get home. (Monday)
I’m currently 500km away sadly :confused:

It’s having problems on the usual pc build and android build. (Those are the only ones I’ve tried)

I just put it in Google Drive.

@TritZium I tried out your project with a Windows and Mac build; but both don’t exhibit the problem.
Can you try to create a simple project with a single sprite and see if you still have the problem?

I found the problem. The backgroundplane had a z-coord of 0, I suspect that it “polluted” the z-buffer when rendering. So I simply changed the z-coord to 1 and now it works.
Strange that it only happened in builds though… :confused: