Search Issue Tracker
Fixed
Fixed in 6000.3.0b11, 6000.4.0a5, 6000.5.0a1
Votes
0
Found in
2021.3.50f1
2022.3.60f1
6000.0.44f1
6000.1.0b11
6000.2.0a7
6000.3.0a1
6000.4.0a1
6000.5.0a1
Issue ID
UUM-100779
Regression
No
Realtime Hard Shadows resolution of Spot Light and Point Light cannot be changed by script when using Universal Render Pipeline (URP)
How to reproduce:
1. Open the attached “IN-89545“ project
2. Open the “SampleScene”
3. In the Hierarchy tab, select the “Point Light” GameObject
4. In the Inspector, note the value of the "Light Shadow Resolution" field of the ShadowResolutionChanger script
5. Enter Play mode
6. Note the shadow's contour quality
7. Press the space bar several times
8. Observe the appearance of the shadow's contour and the value of the "Light Shadow Resolution" field in the ShadowResolutionChanger script
Expected result: The quality of the shadow changes as the value of the "Light Shadow Resolution" field updates
Actual result: The shadow quality remains unchanged, despite the value of the "Light Shadow Resolution" field being updated
Reproducible in: 2021.3.50f1, 2022.1.0a1, 2022.3.60f1, 6000.0.44f1, 6000.1.0b11, 6000.2.0a7
Reproducible on: Windows 11
Not reproducible on: No other environments tested
Notes:
- The script used to modify the shadow resolution does not directly change the Light > Shadows > Realtime Shadows > Resolution property, as this property is not exposed in the API of the Light class or any Light-related classes in URP. Instead, the script modifies the shadowResolution instance field of the Light, which, according to the development team, is updated by the URP Inspector when the Light > Shadows > Realtime Shadows > Resolution property is changed manually.
- Unlike HDAdditionalLightData in HDRP, URP’s UniversalAdditionalLightData does not provide any pipeline-specific methods for altering Hard Shadows quality programmatically.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
Add comment