Search Issue Tracker
In Progress
Under Consideration for 6000.0.X, 6000.1.X
Fix In Review for 6000.2.0a8
Votes
48
Found in
6000.0.38f1
6000.1.0b6
6000.2.0a3
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
- Nested Canvases with the same Order in Layer ignore Z position for render order when sharing parent Canvas
- ShaderGraph Material subasset loses texture reference when reimporting all assets while using a scripted importer
- Values changed on a prefab are not retained when entering Play Mode
- Shadow Caster 2D shadows partially disappear in specific spots when used with Composite Collider 2D in the Game view
- Hierarchy and Library parts in UI Builder are inaccessible when UI Builder window is resized and these elements no longer fit in the window
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