- Home /
Why are my sprites black when I add them to a SpriteAtlas?
I'm trying to use the new sprite packer, but a bunch of my sprites are black.
I enabled the new sprite packer (Always Enabled), created an atlas, and added my Textures folder to it. When I click Play, I get a popup about building the atlas. When I navigate to a game screen containing the sprites, they're black rectangles.
I've tried messing with the atlas' Packing options to no avail. I don't see any errors to indicate that something is wrong.
Answer by idbrii · Dec 03, 2018 at 11:04 PM
Turns out the problem was that one of my pngs didn't have an alpha channel. In the Texture Importer, its Format value was RGB Compressed DXT1 and all the rest were RGBA Compressed DXT5. Removing this problematic png from my atlas (by moving it to another folder) fixed the black sprites.
Not sure why this doesn't cause an error or warning.
Your answer
![](https://koobas.hobune.stream/wayback/20220612183256im_/https://answers.unity.com/themes/thub/images/avi.jpg)