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
- The Scene View becomes gray and "NullReferenceException" errors are thrown when attaching the Unity Editor process to RenderDoc
- Memory usage rapidly rises when changing colors in the color wheel
- Physically Based Sky's Horizon and Zenith Tint Color Selection Bars don't have immediate access to color pickers
- EmptyAdditionalLightShadowmapTexture leaks from memory when URP quality level is changed using QualitySettings.SetQualityLevel
- Referenced ScriptableObject field does not get updated and cannot be set to "None" when there are no Objects of that type
Add comment