Search Issue Tracker
Won't Fix
Votes
0
Found in
5.6.1p3
Issue ID
924456
Regression
No
[Shader Compiler] Compile error with overloaded CG methods differing only in precision on OpenGLES2
Steps to reproduce:
1) Download attached project 'UnityShaderCompileError.zip' and open in Unity
2) Open scene 'testScene'
3) Select 'TestShader' shader in the Project window
4) In Inspector, click on 'Compile and show code'
Observe error in the Console window:
Shader error in 'Custom/TestShader': 'fmodPositive' : function already has a body at line 43 (on gles)
Expected result: No errors in the Console window when shader been compiled for GLES2
Actual result: 'Shader error in 'Custom/TestShader': 'fmodPositive' : function already has a body at line 43 (on gles)' error in the Console window
Reproduced with:
5.5.4p1, 5.6.2p1, 2017.1.0f1, 2017.2.0b1
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Visual artifacts appear when the HD Dynamic Resolution Component changes the resolution scale
- Domain Reload loading popup is dark when Editor Theme is set to "Light"
- Scene Views breaks and errors are spammed in the Console when the Game view is shrunk vertically to the minimum, and the Aspect Ratio is 16:9 or 16:10
- Slider Fill Area disappears after undoing “Set Native Size” change
- Crash with multiple stack traces when playing video on a render texture with low-end graphics devices
Add comment