Search Issue Tracker
Won't Fix
Votes
0
Found in
2018.4
2019.4.3f1
2020.2
Issue ID
1265143
Regression
No
[Critical] Editor crashes when #line directive is misplaced outside shader's block of code
How to reproduce:
1. Create a new 3D template project
2. Create a new Standard Surface Shader and open it
3. Add "#line 0" directive right after the shader's code ending bracket
4. Save the shader and focus the Editor
Expected result: The editor throws an error due to invalid input once the shader is recompiled
Actual result: The Editor crashes
Reproducible with: 2018.4.26f1, 2019.4.6f1, 2020.1.1f1, 2020.2.0a20
Notes:
1. When 2018.4.26f1 version is used, a crash pop-up is thrown after the shader is recompiled, however, the Editor does not actually crash and can be used afterward. This happens the only after the first shader recompile. Subsequent changes to the shader do not lead to a thrown crash pop until the Editor is reloaded(Track_1265143_V1)
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
- [Android] The Player screen turns black when playing a video under certain conditions
- Search window icons at the bottom are cut off when Search window is resized vertically
- "Try something else?" text label is cut off when searching for a long text in the Search window
- Rendering Debugger window sections do not have a minimum width set when resizing with the slider in the middle of the window
- Last segment of a Sprite Shape Spline is affected by other segments' Sprite Variant change when no edge Sprite is selected
Resolution Note (2020.2.X):
This is an edge case which is, unfortunately, very difficult to fix in the current system.