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
- Crash on ShaderLab::ShaderState::ApplyShaderState when entering Play Mode and calling ShaderWarmup.WarmupShaderFromCollection with a shader that has dynamic_branch
- Crash on operator delete[] when a serializable structure in the System namespace is serialized by a MonoBehaviour
- [macOS] forward and backward mouse buttons are recognized as middle mouse button
- NavMeshModifier.OnEnable/OnDisable gets progressively slower when called repeatedly
- "System.Net.CookieContainer" throws an "ArgumentException" error when using a non-UTF-8 machine locale and hostname
Add comment