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
- “[Worker0] Could not generate preview image“ error when opening macOS native plugin in the Inspector with Architecture to build for set to ARM 64-bit
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
- [Rendering Debugger] [NewInputSystem] Debug Overlays in Play mode throws InvalidOperationException when using New Input System
Add comment