Search Issue Tracker
Won't Fix
Votes
1
Found in
2017.4.1f1
Issue ID
1029344
Regression
No
[Shaders] Shader which name contains 'CGINCLUDE' cannot be included into another shader
To reproduce:
1. Open project
2. Select 'Simple' shader
Expected: in inspector, we should see that shader is compiled properly
Actual: errors are thrown:
'No ENDCG tag found after CGPROGRAM tag'
'Parse error: syntax error, unexpected TVAL_ID, expecting TOK_SETTEXTURE or '}' '
Reproduced: 5.6.5p3, 2017.1.3f1, 2017.2.1p3, 2017.3.2f1, 2017.4.1f1, 2018.1.0f1, 2018.2.0b1
Add comment
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
Resolution Note:
Minor and it's the limitation of the current shader pipeline