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
- Memory usage rises when switching scenes with GRD enabled and a loaded texture in URP
- [Quality Hackweek] Terrain Brush Size value is not serialized after deselecting the terrain when using the first instance of multiple Inspectors
- "NullReferenceException" is thrown when setting a long string in TMP with "Atlas Population Mode" set to "Dynamic" and "Multi Atlas Textures" enabled
- TextMeshPro text is misaligned when alignment is set via script
- A DX11 shader error is thrown when compiling shaders for platforms without DX11 support
Add comment