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
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
- 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
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