Search Issue Tracker
Won't Fix
Votes
0
Found in
2018.4
2019.3
2019.3.0f6
2020.1
2020.2
Issue ID
1246609
Regression
No
[Critical] Editor freezes or silently crashes when compiling a custom compute shader after an import
How to reproduce:
1. Create a new project
2. Download the attached shader named "MinDistShader.compute"
3. Import the shader to the Editor
Expected result: Editor imports the shader and throws an error if it has any issues
Actual result: Editor hangs for a few minutes, silently crashes or gets stuck at the "Baking shaders" stage (Depends on the Editor version used)
Reproducible with: 2018.4.23f1, 2019.3.15f1, 2020.1.0b10, 2020.2.0a13
Notes:
1. When 2020.1 and 2020.2 are used, the Editor gets stuck "Baking shaders" but is still responsive to input. When 2018.4 and 2019.3 are used the Editor is completely unresponsive until the import and compilation processes are finished.
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
- Warning 'Unable to find player assmebly' is thrown when building some Project Templates
- ArgumentOutOfRangeException when manipulating the Project Settings search bar
- [Linux] Touch freezes in Player when any mouse button is clicked
- UnityEngine.Rendering.Volume.OnEnable() is called twice before OnDisable() creating multiple copies of the same volume when a volume is enabled right after Domain Reload when entering Play Mode
- Hinge Joint transforms are reset when toggling the "useMotor" property
Resolution Note (2020.2.X):
The compiler hangs while trying to optimize the shader.
The "tab" member of the MinDistISTOctreeStruct is unused. Removing it fixes the issue.