Search Issue Tracker
Fixed in 2020.2.X
Fixed in 2019.4.X, 2020.1.X
Votes
0
Found in
2019.3.0a1
2019.3.13f1
2020.1
2020.2
Issue ID
1248017
Regression
Yes
ShaderUtil.GetAllShaderInfo() function doesn't return errors from Surface shader functions
How to reproduce:
1. Open the user's attached project
2. Go to Assets -> Shaders in the Project window
3. Select the Foo asset and observe the Inspector
4. Open Test Runner (Window -> General -> Test Runner)
5. Hit Run All and observe the Console log
Expected result: "Shader 'Custom/Foo' has errors." message printed
Actual result: No error messages printed
Reproducible with: 2019.3.0a1, 2019.3.14f1, 2020.1.0b9, 2020.2.0a11
Not reproducible with: 2018.4.23f1, 2019.2.21f1
Could not test with: 2017.4.40f1 (ShaderUtil.GetAllShaderInfo() function is not present)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
Resolution Note (fix version 2020.2):
Fixed in 2020.2.0a13
Resolution Note (fix version 2020.1):
Fixed in: 2020.1.0b12
Resolution Note (fix version 2019.4):
Fixed in: 2019.4.1f1