Tearing between two sprites

Hello !

I have an issue with sprites…
I am repeating loopable sprites (not necessary the same sprites but they are loopable) and I have a small line between two of them only when the camera has a specific position.

The screenshot here shows what I mean… It happens when the camera is at x : 282.4 and if i put it at 282.41 or 242.39, there’s no problem.

I have read lots of stuff about this tearing problem and I know that it occurs if sprites or camera don’t have rounded positions… But in my case, they have rounded position (since pixelsPerUnit is 100, i round them to two digits). So what can I do more to avoid this ?

And it happens only on THAT particular sprites, not the others, and I’ve already checked if they have the right position…

I think I found the solution.

The ortographicSize and the rect of the camera (i forced the aspect ratio to 16/9 so I change the rect of the camera) must be set in order to represent a full pixel on the screen…