Search Issue Tracker
Fixed in 5.0.1
Votes
0
Found in
4.2.0f4
Issue ID
559254
Regression
No
OnRenderImage breaks batching for shadow caster/collector
I found that using OnRenderImage with shadow will breaks shadow batching in Unity 4.2.
I attach a post-processing script to camera. It only contains a simple
OnRenderImage method which only do Graphics.Blit(source, destination).
When the post-processing script is disabled and hard-shadow is enabled, # of draw calls is 9.
However, when the post-processing script and hard-shadow are both enabled, # of draw calls becomes 70.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Add comment