Search Issue Tracker
Duplicate
Votes
0
Found in
5.5.0b3
Issue ID
832159
Regression
Yes
Shader does not compile when CGPROGRAM and ENDCG tags are on the same line
Steps to reproduce:
1. Download and open attached project
2. Select SimpleTestShaderErrorVersion assets in assets tab
3. Look at inspector and see that there are compilation errors - Picture added in last edit
Added a picture for a not working version vs a working version in the last edit.
Expected result: Both shaders compile
Actual result: Shader with CGPROGRAM and ENDCG tags on the same line does not compile
Reproduced on 5.5.0a1, 5.5.0b3, 5.5.0b5
Not reproduced on 5.4.1p1
Bug first appears in 5.5.0a1
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
- ScrollerSlider in the Scroller Control is still using UXMLTraits
- Crash on ExtractHandles when shutting down the Editor in a specific scene while Burst jobs are in progress
- Unity Hub closes with no "Project is currently open" window when selecting an already open project from the Projects list
- The Hub freezes indefinitely when copy/pasting a lot of characters in the “Set project display name” Hub window since it has no character limit
- Inconsistent “Favorites” icon highlight in Unity Hub
This is a duplicate of issue #821711