Search Issue Tracker
Fix In Review for 14.0.3
Votes
0
Found in [Package]
12.1.6
Issue ID
1410886
Regression
Yes
[URP][GLES2] Shader errors are thrown when compiling the Scaling Setup Shader for GLES20
How to reproduce:
1. Open the user-submitted project
2. In the Project window, select the Shader "ScalingSetup" (Packages/com.unity.render-pipelines.universal/Shaders/PostProcessing/ScalingSetup.shader)
3. In the Inspector window, in the "Compiled code" dropdown, enable "GLES20"
4. Click "Compile and show code"
5. Inspect the Console window (Window > General > Console)
Expected result: No errors are seen in the Console
Actual result: Shader errors are seen in the Console
Reproducible with: 12.1.6 (2021.2.16f1), 14.0.1 (2022.2.0a8)
Could not test with: 7.7.1 (2019.4.36f1), 10.8.1 (2020.3.31f1), 12.1.5 (2021.2.15f1), 12.1.6 (2022.1.0a1), 13.1.7 (2022.1.0b12), 14.0.0 (2022.2.0a7) (Scaling Setup Shader is unavailable)
Errors:
Shader error in 'Hidden/Universal Render Pipeline/Scaling Setup': 'SampleTexture2DArrayBicubic': function must return a value at gles2/Library/PackageCache/com.unity.render-pipelines.core@14.0.1/ShaderLibrary/Filtering.hlsl(135) (on gles)
Shader error in 'Hidden/Universal Render Pipeline/Scaling Setup': syntax error: unexpected token '#' at gles2/Library/PackageCache/com.unity.render-pipelines.core@14.0.1/ShaderLibrary/Filtering.hlsl(135) (on gles)
Shader error in 'Hidden/Universal Render Pipeline/Scaling Setup': syntax error: unexpected token '#' at gles2/Library/PackageCache/com.unity.render-pipelines.core@14.0.1/ShaderLibrary/Filtering.hlsl(137) (on gles)
Shader error in 'Hidden/Universal Render Pipeline/Scaling Setup': SV_VertexID semantic is not supported on GLES 2.0 at line 63 (on gles)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Opening Terrain Prefab in Prefab Editing Mode throws "NullReferenceException" error
- [Search] Dragging query pills put them behind the search text field
- A CustomPropertyDrawer that returns a PropertyField for a property named the same as a child field will not render all child fields
- Graphics Settings shows default values instead of the real values in the Rendering Debugger when Volume.profile is assigned via script
- Deleting multiple Tags throws “NullReferenceException”, and "Retrieving array element that was out of bounds" errors when holding the Enter key
Add comment