Black Sprites on some installs - Android

Hi,

I’ve made a game for android but I’m finding that sometimes when I install the app and run it some of my sprites will be black. I’m testing on 3 different android phones and one tablet and the issue is sporadic but has been seen on all of them.

I use a total of 6 sprite sheets, all set to exactly 1024x1024 and the total file size of my sprites folder is 1.77MB. I have texture compression set to ETC1 or RGBA16 on my build settings and building for android 2.3.1 and the issue really is sporadic. I am using no custom shaders, purely Unity’s defaults.

Sometimes the game will load absolutely fine and other times it loads with the majority of my sprites black and I’m really lost for why this is happening.

Thanks in advance for any help.

I was able to fix this issue by selecting “Assets → Reimport All” and then doing a new build whenever it pops up.

The issue seems to be caused by switching between different platforms (iOS in my case) and back to Android. This seems to be doing something to Unity that is screwing up the sprites. It doesn’t happen every time but it happens often enough that I always do a Reimport All before doing a release build.