Search Issue Tracker
Fixed in 6.8.x
Votes
0
Found in [Package]
6.7.1
Issue ID
1161737
Regression
No
Missing SAMPLE_TEXTURE2D parameter in GLES2.hlsl define prevents SAMPLE_TEXTURE2D_GRAD shaders from compiling
How to reproduce:
1. Create a new Unity project
2. Download the Core RP Library package
3. Navigate to Packages > Core RP Library > ShaderLibrary > API > GLES2.hlsl
4. See line:
#define SAMPLE_TEXTURE2D_GRAD(textureName, samplerName, coord2, ddx, ddy) SAMPLE_TEXTURE2D(textureName, coord2)
Expected result: SAMPLE_TEXTURE2D contains 'samplerName' parameter
Actual result: SAMPLE_TEXTURE2D does not contain 'samplerName' parameter
Reproducible with Unity versions: 2018.4.2f1, 2019.1.7f1, 2019.2.0b6, 2019.3.0a6
Could not test with Unity versions: 2017.4.28f1(Core RP Library package not available)
Reproducible with package versions: 0.1.27, 6.7.1
Could not test with package versions: 0.1.21(GLES2.hlsl file not present)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Animator window has a dropdown button that throws “MissingReferenceException” error on a new project when the previous project had a GameObject with an animation
- Terrain Layer settings remain when the Terrain Layer is removed
- Terrain Layer settings UI elements overlap when a new Terrain Layer is created
- Animator State name overflows outside the visual box when the State has a long name
- UI Document file remains marked as Dirty after Undoing made changes
Add comment