I recently updated to Unity version 5.2 from 5.1.2 and went to test my android build which was previously drawing textures perfectly but is now displaying all of my sprites as black. The same projects IOS export is working fine display textures perfectly. I tried to change the export settings a few times but no luck, any suggestions are greatly appreciated! Thanks.
Set the texture settings to advanced and disable mip-maps.
Also, what device are you using?
I have exactly the same problem.
Why is it that we have to change the texture settings and mip-maps in Unity 5.2?
Fixed the display problem however the game is running noticeably slower, not sure if it’s just another 5.2 “feature” or not. I have an HTC One X. Just to reiterate the build was working perfectly fine on my device before the 5.2 update.
Also agree with J0rdy this is kind of silly.
What’s your device? I have the same thing and QA managed to reproduce it, but it’s only doing it on a few devices. Perhaps send a bug report for them to have more to work with.
Installing the latest patch may help: Unity 5.2.0f3 - Black textures - Unity Engine - Unity Discussions
Didn’t help.
I tried it on ASUS Transformer Pad TF300T
@ J0rdy yeah that’s my tablet as well. And it does it on that.
Interesting, I have had the same issues with black sprites as well. Oddly enough, it only seems to happen about one time per ten launches. Have experienced on a HTC M7 and Samsung Galaxy Note 5.
Check the profiler as well… I had some crazy spiking going on when my sprites were black.
Hmm same problem here. Works fine on all my Samsung devices but Transformer Prime shows everything involving transparency as black.
It seems to be very easy for me to reproduce. Moving a transparent sprite into the scene and running it in android is all I need to do. Is this bug reported?
Edit: Went back to 5.1.2 for now
Report it to be sure. my issue isn’t with transparency.
I’ve just tried with upgrading to Unity 5.2.0p1, this made the issue worse not better. Now even text comes up as pink as if the shader is missing.
Try to set the texture format to “Truecolor”. Additionally, make sure that if you are loading custom shaders from scripts they are accessible (e.g. put them in the Resources folder).
Having installed v5.2.1 some textures are displayed black again.
I installed v5.2.1 and at least normal transparent sprites work again.I didn’t have the time to test everything yet though.
Seems we have all different results.
Yep already have them all in Truecolor and no luck. I also don’t use any custom shaders.
For what it is worth, I have been seeing a very similar issue in 5.3.X Android builds, particularly if I switch platforms from iOS to Android. It seems to go away if I reimport all and then do the build. With the longer build times of 5.3, this is a royal pain.
In Unity 5.3.4 the problem still exists. I opened a bug
