Search Issue Tracker
Fixed
Fixed in 6000.0.46f1, 6000.1.0b14, 6000.2.0a8, 7000.0.0a27
Votes
50
Found in
6000.0.38f1
6000.1.0b6
6000.2.0a3
7000.0.0a1
Issue ID
UUM-97309
Regression
Yes
"Draw Additional Lights Shadowmap" calls increase when custom MaterialBlockProperty is used
Reproduction steps:
1. Open the attached “IN-94494.zip” project
2. Open the “SampleScene”
3. Open the Frame Debugger (Window > Analysis > Frame Debugger)
4. In the Hierarchy find “Car 3” and “Car 1” GameObjects
5. Make sure "Custom Sprite Renderer Properties" script Components are enabled on them
6. Enable the Frame Debugger
7 Observe the "Draw Additional Lights Shadowmap" calls
Expected result: The "Draw Additional Lights Shadowmap" has 2 calls
Actual result: The "Draw Additional Lights Shadowmap" has 12 calls
Reproducible with: 2023.3.0b5, 6000.0.38f1, 6000.1.0b6, 6000.2.0a3
Not reproducible with: 2022.3.58f1, 2023.3.0b4
Reproducible on: Windows 11
Not reproducible on: no other environment tested
Note:
- In earlier versions the call in the Frame Debugger is called “Additional Lights Shadowmap”
Comments (1)
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
- var VisionOSEDRHeadromm has a comma instead of a dot when building with Metal Rendering App Mode and local OS localization is set to German
- IAP Catalog remove product “x” and add product “+” buttons are not consistent with other remove and add buttons in the Editor
- Performance issues in Play Mode when quickly hovering the mouse cursor over Hierarchy GameObjects
- Frame Debugger displays incorrect output when FidelityFX Super Resolution or Spatial-Temporal Upscaler is used with Temporal Anti-aliasing or Subpixel Morphological Anti-aliasing
- The layout system is failing to correctly calculate or apply the height of the Japanese fallback font when the primary English font's metrics are used
NatureManufacture
Feb 26, 2025 14:19
"calls increase when custom MaterialBlockProperty is used"
It add calls all the time no matter if there is custom material block property.
All Unity 6 engine versions get triangles and draw calls per shadow cascade.
You have to set shadow cascade = 1 to get the same triangle and draw calls amount like in Unity 2022.3