Search Issue Tracker

By Design

Votes

0

Found in

6000.0.61f1

6000.2.11f1

6000.3.0b8

6000.4.0a4

Issue ID

UUM-125811

Regression

No

Point Light in "LensFlareShowroom" scene of URP Samples uses unsupported Indirect Multiplier

-

How to reproduce:
1. Create a new URP Unity project
2. Go to Window -> Package Management -> Package Manager -> Universal Render Pipeline -> Samples -> URP Package Samples -> Import
3. Go to Assets -> Samples -> Universal Render Pipeline -> 17.4.0 -> URP Package Samples -> LensFlares -> LensFlareShowroom
4. In the Hierarchy, select the "Lens Flare" GameObject
5. In the Inspector, under the Light -> Emission, observe the Indirect Multiplier field

Expected results: The value is 0 because it is supported only by the Directional Lights
Actual results: The value is 1 and warning is shown

Reproducible with: 6000.0.61f1, 6000.2.11f1, 6000.3.0b8, 6000.4.0a4

Reproducible on: macOS Tahoe 26
Not reproducible on: No other environment tested

  1. Resolution Note:

    This doesn't look like an SRP template bug but something as designed when you have a light that is not a directional, real time and when lightmaps is supported. We shouldn't put this value to 0 as the default for point light is 1 and will create some sorts of inconsistency if a user use it in mixed mode for exemple.

    cf code here : https://github.cds.internal.unity3d.com/unity/unity/blob/86a67f53f135302b552b4298a4225b3a4efcca5d/Editor/Mono/Inspector/LightEditor.cs#L489

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.