Unity 2D art is blurry

Tiaan picture Tiaan · Apr 10, 2017 · Viewed 14.1k times · Source

For some reason, I can't get these tilemaps to come out like they were created in Unity... The pixel art is imported to Unity from Tiled.

The pixel art in Tiled: Tiled

The same pixel art imported to Unity: Unity

Does anyone have any idea how I can fix this? Thanks in advance!


As requested, the sprite import settings: sprite import settings

Answer

QBrute picture QBrute · Apr 10, 2017

Posting my comment as an answer after all.

As I suggested, one way to get rid of blurring is to set the "Filter Mode" of the sprite to "Point (no filter)" instead of "Bilinear" or "Trilinear" Point Filter

Here you can see the difference between bilinear and point filtering. Bilinear vs. Point

If that doesn't help, try messing with the quality settings in the Sprite Import. Increase the "Max Size" and maybe disable "Compression" or increase the quality of the compression.

Here you can see differences between the different compression qualities, ranging from "Low" over "High" to "None" Qualities

You can also try to increase the "Max Size" value for higher quality sprites. It scales the dimensions of your sprite to not exceed the specified value. If your sprite sheet is already smaller than the "Max Value", increasing it will have no effect though.

The next picture shows the differences between Sizes 512, 256, 128 and 64 for a Sprite with dimensions 423 x 467 Max Values

You can see that sizes above the dimensions won't have any effect, whereas smaller values will scale the sprite down, decreasing its visual quality.

Usually fiddling around with those values should help making your sprites look sharp and not blurred anymore.

EDIT:
As @NikaKasradze pointed out, there are also default quality settings you can try. Go to Edit > Project Settings > Quality

Quality Settings

The matrix on top gives you a selection of all current quality levels for the Editor itself as well as all build target platforms. The green tick shows what currently is selected as the default quality. You can also set the "Texture Quality" which defines the overall texture resolution in your project. You can choose between "Full", "Half", "Quarter" and "Eight Res". You should choose "Full Res" for your current default settings.