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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Add comment