Unity - Fixing Gaps Between Tiles
Why Stack Overflow recommends it
Stack Overflow users link it when answering questions about visible seams or glitch lines between tiles in 2D tilemaps and sprite atlases, since it shows the cause and the edge-extrusion fix.
Recommended by 3 people across 3 different months, 2019 to 2020.
What it is
A 13-minute Unity tutorial by gamesplusjames on fixing thin gaps that appear between tiles in a tilemap. It demonstrates the cause and walks through a fix, with a starter project available to download.
What people said
Recommends cheaze · 2019-04 · Stack Overflow · on “SpriteKit sktilemapnode vertical line glitch”
I had the same issue and was able to solve it by "extruding" the tiled image a couple pixels. This provides a little cushion of pixels to use when the floating point issue occurs instead of displaying nothing (hence the gap). This video sums it up pretty well. Unity: extruding tile map images [this video] If you're using TexturePacker [LINK] to generate your sprite atlas' there is an option to add this automatically without having to do it to your tile images yourself. Hope that helps!
Recommends Jonathan Mathieu · 2020-02 · Stack Overflow · on “Glitches in Unity pixel art”
While developping a 2d game we've encountered a similar problem. This [this video] video explains well what's happening and some solutions to fix the problem. Hope it can help you !
Recommends HumanWrites · 2020-06 · Stack Overflow · on “Unity - Background visible between tiles edges at certain points”
This happens when the tile border is hard up against the edge of a sprite. To avoid it, your sprite map tiles need to repeat their edges for a pixel or two beyond the tile border. It's a bit hard to explain in text. Here's an okay video on the issue and how to fix it: [this video] I'll update this answer when I get a chance so that it's not relying on an outside source which could one day disappear.