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
- Editor crashes when loading RenderDoc with Graphics API set to OpenGLES2 or OpenGLES3
- [Windows] Development Build with no scenes shows a purple screen when using OpenGLES3 graphics API
- Shader variants take too much memory at runtime
- [HDRP][VFX] Output mesh with default shader is incorrectly sorted before the HDRP fog
- Error "'GamepadSpeakerOutputType' does not exist in the namespace 'UnityEngine'" occurs in the Console when building a project
Add comment