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
- Crash on [NSApplication endModalSession:] when saving while Play Mode is loading
- Incorrect Preferred Height calculation when a single text line uses different Font Assets
- [ShaderGraph] Redo Collapse Nodes action does not fully collapse the Nodes
- [Ubuntu] Mouse cursor is set box select mode after exiting VFX Graph's Rename Context function
- Unrecognized identifier DECLARE_STACK_CB error is thrown when VirtualTexture Property is used with Custom RenderTexture target
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