Reproduction steps:
- Open the “InstantiateBugsStripped“ project
- Open the “Empty” scene
- Enter the Play Mode
- Press Window → Analysis → Frame Debugger
- In the top left corner of the Frame Debugger window press Enable
- Expand the “ScriptableRenderer.Execute: URP-HighFidelity-Renderer” section
- Select the “DrawOpaqueObjects” section
- Locate and observe the value of the “_MainLightColor” property
Expected result: the value of the _MainLightColor is (0,0,0,1)
Actual result: the value of the _MainLightColor is (2,1.559934,1.239042,2) (Slightly depends on different versions of the Editor)
Reproducible with: 10.10.1 (2020.3.42f1), 12.1.8 (2021.3.15f1), 13.1.9 (2022.1.24f1), 14.0.4 (2022.2.1f1), 15.0.2 (2023.1.0a21)
Reproduced on: Windows 10
Note:
1. Sometimes, due to an unknown reason after enabling Frame Debugger, it won’t show any values, the workaround for this issue would be just disabling and enabling the debugger again.
2. Although instantiated light is shown as baked in the Inspector, everything except the (0,0,0,1) value of “_MainLightColor” property indicates that light is realtime
3. Couldn’t test the same behavior with HDRP (Frame Debugger doesn’t show _MainLightColor property)