# Strange lines appear in tilemap

**URL:** <https://forums.unrealengine.com/t/strange-lines-appear-in-tilemap/330505>\
**Category:** Asset Creation\
**Tags:** unreal-engine, glitch, question\
**Created:** [August 31, 2015, 5:52pm UTC](https://forums.unrealengine.com/t/strange-lines-appear-in-tilemap/330505 "2015-08-31T17:52:25Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Diotima](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Diotima](https://forums.unrealengine.com/u/Diotima)\
**Post date:** [August 31, 2015, 5:52pm UTC](https://forums.unrealengine.com/t/strange-lines-appear-in-tilemap/330505/1 "2015-08-31T17:52:25Z")

</div>

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!

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_cc69b907](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_cc69b907](https://forums.unrealengine.com/u/anonymous_user_cc69b907)\
**Post date:** [August 31, 2015, 8:48pm UTC](https://forums.unrealengine.com/t/strange-lines-appear-in-tilemap/330505/2 "2015-08-31T20:48:59Z")

</div>

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.

> **[Graphical artifacts/glitches when using Tilemaps](https://forums.unrealengine.com/questions/290886/graphical-artifactsglitches-when-using-tilemaps.html)**
>
> Using 4.8.3 There is an unusual line stitching shown in the level\_example image. This background is all one color and is included in the tilemap. Even if I remove the background color the artifact still shows.

The bug number is UE - 20468.

Again, thank you for reporting this Bug to us,

---

<div class="post-metadata">

**Author:** ![Diotima](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Diotima](https://forums.unrealengine.com/u/Diotima)\
**Post date:** [August 31, 2015, 9:35pm UTC](https://forums.unrealengine.com/t/strange-lines-appear-in-tilemap/330505/3 "2015-08-31T21:35:28Z")

</div>

Thanks for the quick response!

Hopefully you can squash that buggy soon 🙂

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_22a12ccd](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_22a12ccd](https://forums.unrealengine.com/u/anonymous_user_22a12ccd)\
**Post date:** [December 27, 2016, 1:45am UTC](https://forums.unrealengine.com/t/strange-lines-appear-in-tilemap/330505/4 "2016-12-27T01:45:06Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_6e7b421a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_6e7b421a](https://forums.unrealengine.com/u/anonymous_user_6e7b421a)\
**Post date:** [March 6, 2017, 5:07pm UTC](https://forums.unrealengine.com/t/strange-lines-appear-in-tilemap/330505/5 "2017-03-06T17:07:26Z")

</div>

Hey guys,

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

**[UE-20468](https://issues.unrealengine.com/issue/UE-20468)**

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

---

<div class="post-metadata">

**Author:** ![XRAF](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@XRAF](https://forums.unrealengine.com/u/XRAF)\
**Post date:** [March 10, 2024, 2:29pm UTC](https://forums.unrealengine.com/t/strange-lines-appear-in-tilemap/330505/6 "2024-03-10T14:29:20Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![DarioGangi](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/dariogangi/32/1215012_2.png) [@DarioGangi](https://forums.unrealengine.com/u/DarioGangi)\
**Post date:** [July 19, 2024, 9:06pm UTC](https://forums.unrealengine.com/t/strange-lines-appear-in-tilemap/330505/7 "2024-07-19T21:06:45Z")

</div>

> [@Stange line In 2D tile map](https://forums.unrealengine.com/t/stange-line-in-2d-tile-map/1652057/2):
>
> I found the solution! I have to right-click Tile set, and then select ‘Condition Tile Sheet Texture’. It adds padding the each tile to prevent tearing [https://saucy.se/blog/gamedev/curse-of-undeath/unreal-engine-4-tilesets-and-tilemaps/](https://saucy.se/blog/gamedev/curse-of-undeath/unreal-engine-4-tilesets-and-tilemaps/)

---

<div class="post-metadata">

**Author:** ![Foolish.Flower1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Foolish.Flower1](https://forums.unrealengine.com/u/Foolish.Flower1)\
**Post date:** [August 16, 2024, 8:39pm UTC](https://forums.unrealengine.com/t/strange-lines-appear-in-tilemap/330505/8 "2024-08-16T20:39:02Z")

</div>

Thanks, this solved it for me!
