Search Issue Tracker
Not Reproducible
Votes
0
Found in
2022.2
Issue ID
1395003
Regression
Yes
Crashes when editing a shader which is being used by another shader's UsePass
Steps:
1. Open attached project (ShaderCrash.zip)
2. Open Repro scene
3. On ProjectView, open BrokenUsepass shader, edit line 10 to be:
UsePass "BrokenSinglePass/BrokenSinglePass"
4. Save file, go back to Unity
5. On ProjectView, open BrokenSinglePass shader, edit line 47 to be:
return col * float4(1,0,0,1);
6. Save file, go back to Unity
7. On ProjectView, open BrokenSinglePass shader again, edit line 47 to be:
return col * float4(1,0,0,1)-;
8. Save file, go back to Unity
9. Crash
Reproducible:
2022.2.0a1.368 (2dd09014126d)
2022.2.0a1.176 (60f583a20d13)
Not-reproducible:
2022.1.0b1.2464 (4897ee769494)
2021.2.8f1.4208 (d0e5f0a7b06a)
2020.3.18f1.979 (a7d1c678663c)
Tested on Win DX11.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Shader Graph Asset icon is not shown on creation unless you confirm the name
- APV Sky occlusion doesn't consider the terrain
- [iOS] "EXC_BAD_ACCESS" Player crash when Script Debugging is enabled
- Cursor skips input fields when tabbing between two sets of input fields
- "Shader error redefinition of 'Varyings'" error appears when selecting the shader
Add comment