Search Issue Tracker
Won't Fix
Votes
0
Found in
2018.1.0b11
2018.1.0f2
Issue ID
1034916
Regression
Yes
Surface Shader Compiler compiles for additional non-selected APIs
Steps to reproduce:
1. Download and open the attached project
2. Check the "NewSurfaceShader"
Result: Shader error in 'Custom/NewSurfaceShader': 'SampleMix': cannot implicitly convert from 'Texture2D<float4>' to 'sampler2D' at line 82 (on d3d11)
Expected result: no error because the compilation defines APIs for which the code is to be used
Reproduced on 2018.1.0b11 2018.1.0b13, 2018.1.0f1 2018.1.0f2, 2018.2.0b4, 2018.3.0a1
Not reproduced on 2017.4.3f1, 2018.1.0a1, 2018.1.0b1, 2018.1.0b7
Regression introduced in 2018.1.0b11
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