Search Issue Tracker

Fixed in 5.4.3

Fixed in 5.5.X

Votes

0

Found in

5.4.0f3

Issue ID

824020

Regression

Yes

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

Shaders

-

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

Add comment

Log in to post comment

All about bugs

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