Unsupported Shader Errors in Chrome and Firefox

In chrome (everywhere) and on firefox (only on mac), we get a bunch of messages pertaining to unsupported shaders.

The specific messages are:

WARNING: Shader Unsupported: 'Standard (Specular setup)' - Pass 'FORWARD' has no vertex shader
WARNING: Shader Unsupported: 'Standard (Specular setup)' - Pass 'FORWARD_DELTA' has no vertex shader
WARNING: Shader Unsupported: 'Standard (Specular setup)' - Pass 'SHADOWCASTER' has no vertex shader
WARNING: Shader Unsupported: 'Standard (Specular setup)' - Pass 'DEFERRED' has no vertex shader
WARNING: Shader Unsupported: 'Standard (Specular setup)' - All passes removed
WARNING: Shader Unsupported: 'Standard' - Pass 'FORWARD' has no vertex shader
WARNING: Shader Unsupported: 'Standard' - Pass 'FORWARD_DELTA' has no vertex shader
WARNING: Shader Unsupported: 'Standard' - Pass 'SHADOWCASTER' has no vertex shader
WARNING: Shader Unsupported: 'Standard' - Pass 'DEFERRED' has no vertex shader
WARNING: Shader Unsupported: 'Standard' - All passes removed

On Chrome we also get several messages of “WebGL: INVALID_OPERATION: texImage2D: incompatible format and internalformat”

The end result is that the UI has several solid black areas where there should be color or texture (I’m not positive about this, but I suspect that it’s any UI texture where there is no alpha channel). (This is visible on the first attached image, and the 5.1 version is the 3rd attached image)

The standard shader also appears to be not applying light, resulting in an extremely dark scene. (This is visible on the second attached image, where the 5.1 rendering is the 4th attached image).




I don’t think this is a problem we are already aware of. Could you please submit a bug report ?

I had tried to submit one before, but hadn’t been sure it went through. I guess it had not.

Anyway, this has been submitted as case 725756.

we received the bug report. thanks!

I have the same problem, perhaps this is introduced in version 5.2 ?

Just tried using Unity 5.2f3 (the 5.2 release). The issue is still present in most places, but it now works in Chrome developer channel on windows.

Just tried it on the browsers I have immediately available to me:

  • Chrome developer channel on windows (Version 47.0.2503.0 dev-m) works.

  • Firefox v39.0 and v40.0.3 on windows works (as before).

  • Safari 8.0.6 on mac works.

  • Chrome stable channel on windows (Version 45.0.2454.85 m) does not work.

  • Chrome beta channel on mac (Version 46.02490.13 beta) does not work.

  • Firefox Developer edition on mac (Version 42.0a2) does not work.

The ones that do work appear to still have unsupported shader messages in the logs, but render correctly. The incompatible format error is not present on the working chrome version, (making me think that this is probably the issue, and that the shader issue is something unrelated… but this is just speculation).

2 Likes

We’re seeing the same errors on Android as well.

3 Likes