Search Issue Tracker
Fixed
Fixed in 2022.3.18f1, 2023.2.7f1, 2023.3.0b3
Votes
0
Found in
2022.3.18f1
2023.2.0f1
2023.3.0b3
Issue ID
UUM-59974
Regression
Yes
Keywords for SH and SoftShadows are incorrectly set up in ShaderGraph
Keywords for Evaluate SH and SoftShadows are incorrectly set up in ShaderGraph.
Instead of being:
{code:java}
#pragma multi_compile_fragment _ _SHADOWS_SOFT _SHADOWS_SOFT_LOW _SHADOWS_SOFT_MEDIUM _SHADOWS_SOFT_HIGH
#pragma multi_compile _ EVALUATE_SH_MIXED EVALUATE_SH_VERTEX
{code}
They are:
{code:java}
#pragma multi_compile_fragment _ _SHADOWS_SOFT
#pragma multi_compile_fragment _ _SHADOWS_SOFT_LOW
#pragma multi_compile_fragment _ _SHADOWS_SOFT_MEDIUM
#pragma multi_compile_fragment _ _SHADOWS_SOFT_HIGH
#pragma multi_compile _ EVALUATE_SH_MIXED
#pragma multi_compile _ EVALUATE_SH_VERTEX
{code}
This adds more variants than needed and breaks functionality with those features.
The regressions came from these PRs
* [SH Regression|https://github.cds.internal.unity3d.com/unity/unity/pull/39802]
* [SoftShadow Regression|https://github.cds.internal.unity3d.com/unity/unity/pull/31962]
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Profiler - Taking you to the wrong section when using 'show'
- Draw Renderers custom pass doesn't work with SSGI
- WebCamTexture does not set the requested resolution when used in WebGL
- Editor default Stylesheet/Matching Selector buttons in Debugger don't do anything
- Graphics.DrawMeshNow stops rendering Render Texture after a few frames when viewed in the Player
Add comment