Search Issue Tracker
By Design
Votes
0
Found in
5.3.4f1
Issue ID
801760
Regression
No
Compiling Fixed function shader 'Shader error' is thrown: 'tex2D': no matching 2 parameter intrinsic function;
Reproduction Steps:
1. Open User's project
2. Compile "Tinted-Rle-VertexCols" shader
3. Notice thrown error
Shader error in 'Tinted-Rle-VertexCols': 'tex2D': no matching 2 parameter intrinsic function; Possible intrinsic functions are: tex2D(sampler2D, float2|half2|min10float2|min16float2) tex2D(sampler2D, float2|half2|min10float2|min16float2, float2|half2|min10float2|min16float2, float2|half2|min10float2|min16float2) at line 104 (on d3d11)
Compiling Vertex program
Platform defines: UNITY_ENABLE_REFLECTION_BUFFERS UNITY_PBS_USE_BRDF1 UNITY_SPECCUBE_BOX_PROJECTION UNITY_SPECCUBE_BLENDING
The same behaviour on: d3d9, d3d11, d3d11_9x, gles3 and glcore.
Reproduced in versions: Unity 5.2.4f1, 5.3.4f1, 5.3.5p2, 5.4.0b20
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- "Custom Function" Node "Input" type changes do not immediately show mistmatch errors when set to an incompatible type in Shader Graph
- My Assets list is populated with Asset Packages when setting how many Packages to display before clicking the Load button
- Hub shows 6.0 as Latest LTS when opening a project after deleting its 6.3 Editor version
- Localization Group Rules bypasses Locale logic when SharedGroup asset provided
- UI Toolkit World UI Text Field unfocuses immediately when clicking on it using XR Controller
Add comment