Unity 2017 Sprite Atlas variant NOT rendering properly

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:
3140956--238277--Screen Shot 2017-07-11 at 2.55.29 PM.png

Master config:
3140956--238278--Screen Shot 2017-07-11 at 2.55.38 PM.png

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.

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

Can you help?

Thanks,
Andrew

Hi!

Do you mind make a bug report for this case with a smaller repro project? Doing so we can track this better.

Thanks!

Submitted. Thx!
https://fogbugz.unity3d.com/default.asp?930311_envmog94m73t0hdu

I encountered the same problem. Variant atlas is broken. It also occur when you try to use GetSprite from the Variant atlas asset directly.

Try changing the compression format. They behave differently