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
- Performance Markers Search window shows an empty entry in the list
- Enabling Deep Profiling in Performance Markers Search window breaks Inspector panel buttons when navigating through the marker items
- An "InvalidOperationException" error is thrown when TryRemoveItem is used with rebuildTree set to false
- Build fails with IL2CPP error when building on Android platform in a specific project
- Resize to Fit option for Import Activity window's Columns does nothing
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