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
- Editor crashes and a window with "GetManagerFromContext: pointer to object of manager 'MonoManager' is NULL (table index 5)" error is shown when launching a freshly created project
- Editor Windows dragging behavior is erratic/glitchy when a specific multi-display setup is used and the Editor window is not on the main display
- Meta Quest missing an icon in Build Profiles window in U6.0
- Foldout arrow indent is misaligned in the Inspector when used for Arrays or Lists
- Material import pipeline strips properties when it is added with a script
Add comment