Search Issue Tracker

Fixed in Unity 5.4.3

Votes

0

Found in

5.4.0f3

Issue ID

824020

Regression

Yes

Crashes when applying a shader with #error directive to a material

Shaders

-

-

Priority: 2Necessary for shipping a final release

-

Severity: 1Crash or major loss of functionality

To reproduce:
1. Open the attached project
2. Select Material "Material"
3. Change "Material" shader to Custom/ChunkTextureShader
4. Observe that Unity has crashed

Expected: Unity does not crash
Actual: Unity crashes

Reproduced on: 5.3.6p2, 5.4.0f3, 5.4.0p2
Not reproducible on: 5.2.5f1, 5.5.0a6

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.