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
- Joint Gizmos for anchor and connectedAnchor do not respect their defined bodies when Swap Bodies is enabled
- Project Settings window opens up with a blank details pane when the "Configure" button is clicked in the Package Manager after installing the Cloud Diagnostics package
- [UI Builder] Viewport's gizmos for Margin and Padding disappear when dragging to modify the value and the cursor leaves the Spacing section
- "Multiplayer Center" window does not reflect changes made in "Other Packages" section
- Crash on D3DKMTOpenResource when capturing with RenderDoc while GPU Skinning is set to GPU(Batched)
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.