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
- Fixing Message Loss in UMPE During Domain Reload
- The Editor freezes when ScheduleReadOnly of IJobParallelForTransform with dependency is used
- Text is truncated in the Inspector when the display scale is set to 150%
- CancellationTokenSource(<timeout>) has incorrect cancellation status when used in WebGL Player
- VFX property value names are cut off when properties with 'Arc' are viewed in the VFX Blackboard
Add comment