Search Issue Tracker
By Design
Votes
0
Found in
2018.4
2018.4.17f1
2019.3
2020.1
2020.2
Issue ID
1243721
Regression
No
[Critical] Unity crashes when upgrading a project with a broken shader
Reproduction steps:
1. Open the attached project ("1243721.zip") (might crash on opening)
2. Open "Mandelbrot" Scene
3. Select "Raw Image" GameObject so it would draw it in the Inspector
Reproducible with: 2018.4.23f1, 2019.3.14f1, 2020.1.0b9, 2020.2.0a11
Notes:
- The source of the issue seems to be an error in a shader created by the user
- The project opens up without an issue and only freezes and artifacts when resizing in 2018.4, but when trying to upgrade the project to a newer version, it crashes on upgrading
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- "IndexOutOfRangeException" and "NullReferenceException" are thrown and Element disappears from UI Builder when undoing rename of element in "Open Instance in Context" menu
- Select Scriptable Object window freezes and becomes unresponsive when currently opened UXML Template is selected for binding's Data Source
- [Linux] “ReleaseButton expects buttonId >= 0” error is thrown when importing Assets via drag and drop
- Asset gets unselected and added Subgraphs list item is not undone when performing Undo in Heatmap with Default Values asset Inspector
- Black square “shadow” artifacts visible when using Screen Space Reflections without maximum smoothing
Resolution Note (2020.2.X):
The shader has a loop that is controlled by the material. The number of iterations is set to 10^14.
Manually editing the material and setting a sane number or iterations solves the issue.