Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

2D Sprite 1.0.0 corrupts sprite when Generate MipMaps is off (2019.3.3f1)

Discussion in 'Universal Render Pipeline' started by trojanfoe_, Mar 2, 2020.

  1. trojanfoe_

    trojanfoe_

    Joined:
    May 20, 2014
    Posts:
    53
    When I import my brilliant pixel art with Generate MipMaps off I am getting strange artifacts in the sprite.
    generate_mipmaps_off.png generate_mipmaps_on.png Man1.png

    Can anyone comment on this?

    I am using Unity 2019.3.3f1 with 2D Sprite package 1.0.0 on Windows 10 x64.
     
  2. aleksandrk

    aleksandrk

    Unity Technologies

    Joined:
    Jul 3, 2017
    Posts:
    2,844
    You have a non-power-ot-two texture. If you check the messaage with a warning sign on the left, it says that only POT (power-of-two) textures can be compressed, so checking "Generate mipmaps" also turns off texture compression in this case.
    You just have to select a different option in the Compression drop-down.
     
    trojanfoe_ likes this.
  3. trojanfoe_

    trojanfoe_

    Joined:
    May 20, 2014
    Posts:
    53
    Hey mate thank you! That solved it.
     
    aleksandrk likes this.