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
- “[Worker0] Could not generate preview image“ error when opening macOS native plugin in the Inspector with Architecture to build for set to ARM 64-bit
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
- [Rendering Debugger] [NewInputSystem] Debug Overlays in Play mode throws InvalidOperationException when using New Input System
Add comment