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
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.
Latest issues
- Volumetric fog shader variants are missing from build when "Strict Shader Variant Matching" is disabled
- Unnecessary modifications clutter the Scene when using a RectTransform driven by a LayoutGroup in a Prefab
- Files in the target folder are deleted without a proper warning when building an iOS project
- Character animation freezes when toggling animator on/off in a coroutine
- Certain textures are incorrectly marked in the render pass list when observed through Render Graph Viewer
Add comment