Search Issue Tracker
Won't Fix
Votes
1
Found in
2018.3.0b5
Issue ID
1090797
Regression
No
Compute shader error crashes Unity shader compiler
How to reproduce:
1. Open the "Compiler Crash.zip" project
2. Check the console for errors
Actual result: Compiler crashes.
Reproducible with: 2019.1.0a13, 2018.3.1f1, 2018.2.20f1, 2018.1.9f2, 2017.4.17f1.
Notes:
The crash on the compiler is caused by lines "for (int i = 0; triTable[cubeIndex][i] != -1 && i < 16; i += 3)", KeelTheCompiler.compute: 129. and "triangleRW.Append(t);", KeelTheCompiler.compute: 152. Removing "triTable[cubeIndex][i] != -1 &&" from the loop OR removing "triangleRW.Append(t)" line fixes the error.
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
- Certain textures are incorrectly marked in the render pass list when observed through Render Graph Viewer
- "Assertion failed on expression" error occurs when multiple Animation Components are instantiated after changing the Culling Type
- MacOS persistentDataPath uses old path when built compared to Editor Play mode
- Crash on RaiseException when entering Play Mode in a specific project
- Debug Console does not reappear when disabling and re-enabling Debug.developerConsoleEnabled
Resolution Note:
minor/cosmetic