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
- Installing Unity OpenXR Meta Package throws "NullReferenceException" error
- Unused Particle System Renderer Mesh settings cause performance degradation when calling SetActive
- Project Browser shows the Asset folder empty when Select Dependencies is clicked without any asset selected
- Export as JSON and CSV options missing from the Quick Search save feature
- Crash on IMGUI::GUIWindow::OnGUI when rendering scene view window in play mode in a specific project
Add comment