Strange lines appear in tilemap

Dear Epic/Community,

While building my sidescroller in Paper2D, I’ve encountered a really annoying problem with my tilemap. As you can see in the first image, sometimes a line appears on the edge of 2 tiles in my tilemap. The exact location of the line switches around, but it always appear on the vertical ‘grid-line’ between two tiles. At first I only noticed it while previewing my game, but after (literally) closer inspection in the editor (read: zooming in) it also happens there.

At first I thought it had something to do with the light-blue background, but after removing the background, the problem remained.

My next guess was that somehow the tiles had become bigger than the grid, but both are set at 32px by 32px (I’ve painted the tiles on a 32 by 32 grid in Photoshop, so that shouldn’t be a problem).

I’ve tried applying the “Paper2D texture settings” to the source-image before and after creating the tileset and tilemap, but that didn’t help either.

I also tried reducing the size of the collision-tile to prevent possible overlap, but even after using 28 by 28 collision-boxes on the 32 by 32 tiles, it still occurs.

My last guess was to use a source-image with a spacing in between the different tiles, so I’ve tried 1px- and 2px-wide spacing between the tiles in the source-image and the problem is still there.

Does anyone have a clue what could be causing this issue?

Thanks in advance!

1 Like

Hello Diotima,

Thank you very much for reporting this issue. This is a known issue and has been reported to our development team.

Here is a link to another user who was experiencing the same issue.

The bug number is UE - 20468.

Again, thank you for reporting this Bug to us,

Thanks for the quick response!

Hopefully you can squash that buggy soon :slight_smile:

I’m getting the exact same thing and I’m on the latest version?

Hey guys,

This was determined as ‘Invalid’ see the Developer Notes in the bug link I have provided below.

UE-20468

Thank you and let me know if you have further questions.

I still have this problem in ue5, is there something specific i should do to solve this bug?

1 Like

Thanks, this solved it for me!