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
- Getting a deprecated package for JetBrains Rider pop up when opening or creating a project
- [Android] Volume level of the same audio file is different on Samsung Galaxy Tab A8 between 2023.3.0b3 and 2023.3.0b4
- ‘Expected end of value’ warning occurs when a property declaration includes five or more variable references
- Crash on BurstCompilerService::CompileAsync when entering Play mode in a specific scene
- InvalidOperationException when using Game Camera Preview in Scene window with a custom RenderGraph pass
Add comment