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
- Too little validation messages in the "WebAssembly Language Features" Memory settings
- Project Settings Search Highlights are misaligned when using the Bitmap Text Rendering Mode
- "GetControlID at event ValidateCommand returns a controlID different from the one in Layout event" Warning is thrown when undoing the deletion of Sprite Shape Profile
- Memory related fields in the "WebAssembly Language Features" can be set to the negative numbers
- "WebAssembly Language Features" Header in the Player Settings has a smaller indentation
Add comment