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
- Assets are created in the Package folders when creating assets via custom buttons in the Inspector window or other windows
- “Select” windows are named differently on Windows and macOS
- [Windows] No minimum “Select” window size
- Enabling “Editor Extension Authoring” in UI Builder doesn’t dirty the document and saving with shortcut doesn’t persist the state
- WebRequest.Create() function fails with "URI prefix is not recognized" errors when the project is built for Linux Standalone or Windows Dedicated Server
Add comment