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
- Redoing creation of Sub Scenes and Cube GameObjects in Hierarchy throws “Assertion failed on expression: 'targetScene != nullptr’” error in Console window
- Selecting “New Sub Scene” after assigning “New Scene” in Sub Scene Script Component throws “Destroying GameObjects immediately is not permitted” in the Console window
- Shader Graph "Zoom Step Size" can be set to 0 even though the zoom still works
- Enabling/Disabling the Deprecated Nodes doesn't apply to the opened Shader Graph unless any Variable is added to the Blackboard
- Group Selection title text size is smaller in renaming than the actual font size
Resolution Note:
minor/cosmetic