Unity 5.2.0f3 - Black textures

Some textures in my project began to appear black at android build.

I put on the level of three objects:
-Two objects should appear black every time.
-Third was without textures.
The output came exactly what I expected.

But when i replace material on “black object” at working material from different scene - all three objects became black. Even one without any textures. (all was mobile/diffuse)

I try to switch static checkbox in different way, but nothing change.

It’s not because of the shader and not because of texture format. It is not because of dynamic or static objects.

There is some logic in this, but I can not figure out why this happening.

P.S. Also it affect some UI element.

1 Like

Back to 5.1.3

I’m experiencing the same thing: all UI elements and sprites are rendered black with the exception of fonts, as well as some other textures.

When this used to happen with previous versions it used to be related to asset serialization not being forced to binary and or texture compression types per device. But this time, nothing works.

Is it really the following a workaround? Unity 5.2 Android sprites black / not drawing - Unity Engine - Unity Discussions

Can anyone on the Unity QA team confirm whether you are aware of this bug?

I have this same issue, disabling mip maps did NOT work for me. It’s very rare that it happens but I can’t release a game knowing that it does happen.

It does neither work for me.

The strange part is that this happens with upgraded projects (say, from v5.1.3p3 to v5.2f1). If I create a project from scratch with v5.2f1, everything seems fine). Weird.

What I can tell you is the list of things I’ve tried;

Disable Anti Aliasing
Using ETC1 / RGBA16 Compression
Making Textures smaller than 1024x1024
Recreating the project from scratch
Upgrading to the latest version of Unity
Set quality settings to fastest
Disabled 32 bit buffer
Disabled Mipmaps for sprites

None of those have fixed the issue for me. The only clue I have is from my ADB Logcat when the sprites are missing the following line is present: E/Unity (23092): GLSL compilation failed, no infolog provided.

I’ve attached my logcat from when sprites are missing too in case anyone can make more sense of it than I can.

2285874–153566–Bad Run.txt (16.3 KB)

I’ve done the same with my game with no luck so far.

So, again: can anyone on the Unity QA team confirm whether you are aware of this bug?

2 Likes

Has anyone actually filed a report about this? If so, what’s the bug number?

Unlike some of the other guys I’m working in 2D rather than 3D and so using standard sprite shaders but getting a very similar issue. I have submitted a bug report, Case 726142_b9a9upgt83sfiemd

After doing a clean installation of v5.2.0p1 (including reinstallation of the standard assets for that version), released today, everything works fine again on Android. At least in my case.

@superpig , i did some time ago, it was said to be fixed on 5.2, but it still does it for me. Q/A said that it’s fine on some Tegra3 devices, but not on a Transformer TF300T.
Bug case: Case 704017
5.2.0p1 didn’t help in my case. I also got a lot of warning about that GI file missing, and for not being able to add the asset file for sharedassetsxx.resource.

I’m also not using realtime GI, just prebaked.
It seems that any shader that is lightmapped, appears black. to me at least.

Did you try cleaning the GI cache, and doing a clean of your Library and Obj folders?

yeah i’m trying that now, but it takes time. and i noticed that the lightmaping is different from 5.1.2 to 5.2. Same settings produce different files.

Hi

We are also facing same Issue with some of Galaxy family Devices like Galaxy S5 and newer devices. (its work perfect on Nexus, Galaxy S4, OnePlus, Motorola etc). We are using Unity 5.2.0f3

When We work with Unity 4.6.x that issue came with Nexus 7 Tablet and it solved out with uncheck “Use 32 bit Display buffer” from player setting of application. but for this issue that solution also not works.

I thought that issue due to Device GPU Galaxy S6 series has GPU from MALI, maybe mali is not support one these two (32 bit Display Buffer / Depth and stencil")

We have tried on another Galaxy Tab 10.1 with uncheck "User 32 bit Display Buffer" it will not work but we checked “User 32 bit Display Buffer” and “Disable Depth and Stencil” is work on that device.

I don’t test yet on S6 and S6 Edge. but As I mentioned about Galaxy 10.1 has Adreno GPU and S6 has mali GPU.

Having installed v5.2.1 some textures are displayed black again.

I have a customer too that has a TF300T tablet with all black textures/screen after update with Unity 5.2.1p2

Any update on this unity?

Have you submitted a bug report? It gives them more stuff to work with and actually shows how important it is.

I don’t have any issue’s with Unity 5.2.1p2. It’s just that people with a TF300T have problems or maybe all Tegra 3 users. They tell me before the update all worked fine. I will try to file a bug.