Search Issue Tracker
By Design
Votes
0
Found in
2022.3.37f1
6000.0.10f1
Issue ID
UUM-75474
Regression
No
[URP] Setting "Additional Lights" to Disabled does not disable shadows from Additional Lights when using Forward+
How to reproduce:
1. Open the “ReproAdditionalLights“ project
2. Open the “ReproScene“
3. Open the “Assets > Settings > ForwardRenderer.asset“ in the Inspector
4. Set the Rendering Path property to Forward+
5. Open the “Assets > Settings > Full.asset“ in the Inspector
6. Under the Lighting section set the Additional Lights property to Disabled
7. Observe the Scene/Game view
Expected result: Shadows disappear
Actual result: Shadows do not disappear
Reproducible with: 2022.3.37f1, 6000.0.10f1
Could not test with: 2021.3.40f1 (Forward+ Rendering Path not supported)
Reproducible on: macOS 14.5 (Intel), Windows 10 (User’s)
Not reproducible on: No other environments tested
Workaround: Set Additional Lights to Per Pixel, then un-toggle the Cast Shadow property under the Additional Lights section, set Additional Lights to Disabled
Notes:
- Only reproducible with Forward+ as a Rendering Path
- After switching from Forward to Forward+ (when opening the project that was closed with Rendering Path set to Forward and then setting it to Forward+), the issue will not reproduce until you set Additional Lights to Per Pixel and then back to Disabled, does not always happen
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
- “ArgumentOutOfRangeException“ error when selecting 'TMP_InputField' content using keyboard in WebGL build
- Colliders are shown with incorrect scale when observed through the Physics Debugger Collision Geometry view
- Spot Light with 'Box' Shape stops working when it collides with Mesh
- Accepting Asset Store EULA endless loop in Package Manager window
- “InvalidOperationException: Sequence contains no matching element“ error when reenabling a custom Debug Draw Mode
Resolution Note:
This is by design, as Unity ignores the 'Additional Lights' property in the URP Asset when you set the Rendering path to Forward+. The value of this property is 'Per Pixel' regardless of the value you select. So it would be hard to expect the additional shadow to be disabled if you set the 'Additional Lights' property to 'Disabled' with Forward+ rendering.