Search Issue Tracker

Fixed in 5.5.0

Votes

1

Found in

5.3.4p6

Issue ID

796887

Regression

Yes

[Unrecognised Shader]Warning message misses name and link to the broken shader

Shaders

-

Steps to reproduce:
1. Open attached project (named "Unhelpful Shader Warnings.zip").
2. After the project is loaded, notice that the "Console" window outputs this message 48 times:

"GpuProgram creation error: shader program type is unrecognised. You might have a precompiled shader asset from an old Unity version."

3. Try clicking on one of these messages.

Actual result:
The warning message does not provide user with the name of the broken shader and this warning message does not redirect user to the broken shader asset after clicking on it.

Expected result:
The warning message should provide user with the name of the broken shader and clicking on this message should redirect to the location where this broken shader asset is.

Reproduced with:
5.3.4f1, 5.3.5p1, 5.4.0b18.
When reproducing with 5.1.0f3, 5.2.4f1 the "Console" window outputs different warning messages:

"Shader warning in 'Shader/DifNorSpcCub': Fixed function TexGen used; it doesn't do anything now at line 16"
"Shader warning in 'Car/GlassReflect2DNew': Fixed function TexGen used; it doesn't do anything now at line 7"
"Shader warning in 'Car/GlassReflect2DNew': floating point division by zero at line 55 (on d3d11)
Compiling Fragment program"
"Shader warning in 'Shader/Dif(A)NorSpcCub': Fixed function TexGen used; it doesn't do anything now at line 19".

Re-importing all the assets fixes the issue only on 5.1.0f3, 5.2.4f1.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.