Search Issue Tracker
By Design
Votes
0
Found in
2017.2.0f3
Issue ID
978473
Regression
No
Shader partially reverts to Fallback if Directional Light has shadows set
How to reproduce:
1. Open the "ShaderRepro.zip"
2. Open the "temp" scene
3. Notice, that the nebula fogs are not visible
Actual result: The custom shader fallbacks to diffuse, and the nebula fog is not visible.
Expected result: The custom shader shouldn't fallback and the nebula fog should be visible.
Reproducible with: 5.6.4p4, 2017.1.2p4, 2017.2.1f1, 2017.3.0f2, 2018.1.0a7.
Notes:
If the Directional light has "Shadow Type" set to No shadows, the shader doesn't fallback.
Commenting " Fallback "Diffuse" " (line 59 at Su_StaticStars_Noice shader) makes the shader work correctly, even if the shadows are set on the Directional Light.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- CurveTexture is not being released when unloading AssetBundle containing a Scene with ColorCurves post-processing component in Global Volume
- Crash on ExtractActiveCasterInfo when navigating the scene view in a project with specific lighting data
- Build Profile name increments when numeric suffix is removed from duplicate Profile name
- "Unrecognized block header in profiler data file, stopping deserialization" error is shown and no more profiler data is recorded when the Player is connected and profiler recording is enabled/disabled few times
- Shader error and warnings thrown when setting HDRP as an Active Target in Blank Shader Graph
Add comment