Search Issue Tracker
Won't Fix
Votes
0
Found in
2022.3.21f1
2023.3.0b10
6000.0.0b11
Issue ID
UUM-65869
Regression
Yes
Custom Shadows stay soft when the "Soft Shadows" option is disabled in the "URP Renderer" asset
How to reproduce:
1. Open the “IN_70220” project
2. Open the “AdditionalLightsDemoScene”
3. In the Project window search for the “URP Renderer“ asset and open it
4. In the Inspector disable “Soft Shadows”
5. Observe the Game view
Expected result: Hard shadows rendered
Actual result: Soft shadows rendered
Reproducible with: 2022.3.11f1, 2022.3.21f1, 2023.3.0b10
Not reproducible with: 2021.3.36f1, 2022.3.10f1
Couldn’t test with: 2023.2.13f1 (due to shader error and custom material being pink)
Reproducible on: Windows 10 Pro
Not reproducible on: No other environments tested
Notes:
- Reproducible on both Vulkan and OpenGLES3 Graphics API
- I made some modifications for the user project so the expected result can be seen by toggling the “Button” in the Play Mode
- This issue is not reproducible if the Soft shadows are changed to Hard shadows in the code (I created the variable “private Light shadowCastingLight;“ and changed shadows with this: “shadowCastingLight.shadows = LightShadows.Soft;“).
- Reproducible when Windows Standalone or Android Platforms are selected (no other environment tested)
- Couldn’t test in Windows Standalone and Android Player due to texture becoming pink color
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Non-multisampled texture binding errors are logged when running the DepthBlit URP scene with MSAA enabled on Vulkan
- The Editor does not recognize code errors in generic classes when using C# Source Generator to generate serialization code
- NullReferenceException is logged when undoing Deletion of a Visual Query Block of a Search Expression
- “Unsupported type MinMaxCurve” error and “Could not register property modification for animation binding…” warnings are thrown after moving playhead when Particle System Property is added to Animation window
- Nested LocalizedStrings can not query local variables
Resolution Note:
The issue is that the Custom Soft Shadow keywords set in the ShaderGraph do not have a variant for when soft shadows are disabled.
Adding another value, at the top, to the keyword enum solves the issue.