Search Unity

Unity 2017 Sprite Atlas variant NOT rendering properly

Discussion in '2D' started by soaring, Jul 11, 2017.

  1. soaring

    soaring

    Joined:
    Jun 22, 2015
    Posts:
    27
    We have been very excited with Unity 2017's Sprite Atlas, so we are testing it with a game that we are building. Unfortunately, we ran into an issue with variant.

    So, we created 2 sprite aliases, one is a master, the other is a variant at 0.25 scale. We then set it up such that the variant is included in the build, not the master.

    Variant config:
    View attachment 238277

    Master config:
    View attachment 238278

    Now, when run the code in the Editor to view the image (which are used as part of the UI), the images don't render properly. It appears as though the sprite atlas wasn't been parsed properly.

    View attachment 238280

    If we switch back to including the master in the build, however, the image rendered properly again.

    Can you help?

    Thanks,
    Andrew
     
  2. soaring

    soaring

    Joined:
    Jun 22, 2015
    Posts:
    27