Search code examples
unity-game-engineassetsimage-compression

Why is unity compressing my button image so much?


I want to make a simple button in unity with an image. The image is a 800x800 png and looks fine when i open it in any image viewer. When i place the image in a asset folder and add it to my button however, it looks awful! It is supposed to look like this:

High quality sudoku board

Instead it turns out like this:

Very low quality sudoku board

Here is the inspection menu for the image:

Inspection image for the sudoku image

Any help would be wonderful!


Solution

  • Setting the Filter Mode to Point should fix this

    enter image description here


    If the above method doesn't work, try tweaking Max Size and set Compression to None

    enter image description here